import {
  RUNNING,
  SUCCESS,
  EXPIRED,
  ALGORITHM,
} from './dataTypes';

export const imagesToRender = [
  {
    commitId: 'd80ab8ff15fb1f327bac0f5679b454cbec247759',
    parentCommitId: '6819ee9d2e8f7796887cc87af2d396c9894a2ebf',
    previousImage: {},
    nextImage: {},
    fileName: 'color_0_0054_A.png',
  },
];

export const mockMatchDataCommitDet = {
  path: '/my-projects/:projectId/commit/:commitId',
  url: '/my-projects/12395599/commit/aede036f526ea5d591f5ee56c131ed8472483912',
  isExact: true,
  params: {
    projectId: '12395599',
    branch: 'master',
    file: '.gitignore',
    commitId: 'aede036f526ea5d591f5ee56c131ed8472483912',
  },
};

export const commitMockObject = {
  id: 'd80ab8ff15fb1f327bac0f5679b454cbec247759',
  short_id: 'd80ab8ff',
  created_at: '2019-11-09T14:24:40.000Z',
  parent_ids: [
    '6819ee9d2e8f7796887cc87af2d396c9894a2ebf',
  ],
  title: 'Replace color_0_0054_A.png',
  message: 'Replace color_0_0054_A.png',
  author_name: 'mlreef',
  author_email: 'cp@mlreef.com',
  authored_date: '2019-11-09T14:24:40.000Z',
  committer_name: 'mlreef',
  committer_email: 'cp@mlreef.com',
  committed_date: '2019-11-09T14:24:40.000Z',
  stats: {
    additions: 0,
    deletions: 0,
    total: 0,
  },
  status: null,
  last_pipeline: null,
  project_id: 14448940,
};

export const mockDiffArray = [
  {
    old_path: 'showcase/color_0_0054_A.png',
    new_path: 'showcase/color_0_0054_A.png',
    a_mode: '100644',
    b_mode: '100644',
    new_file: false,
    renamed_file: false,
    deleted_file: false,
    diff: 'Binary files a/showcase/color_0_0054_A.png and b/showcase/color_0_0054_A.png differ\n',
  },
];

export const userProfileMock = {
  access_token: '77aed582e609513bf3dd1665fd58f42f21c0f7e4a95787f1d9456282ea66b4ff',
  auth: true,
  email: 'mlreef@example.org',
  gitlab_id: 2,
  globalColorMarker: '#91BD44',
  id: 'aaaa0000-0002-0000-0000-aaaaaaaaaaaa',
  isLoading: false,
  membership: 1,
  meta: {
    closedInstructions: {
      DataInstanceOverview: false,
      DataVisualizationOverview: false,
      EmptyDataVisualization: false,
      NewExperiment: false,
      PipeLineView: false,
    },
  },
  refresh_token: '26e51c25a7f1eb5d20c69d690899f485ccf4c2650941bbf481f0e7039b7a091e',
  role: null,
  token: '-x1sExoQznxsohmkTeSs',
  type: null,
  userInfo: {
    avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
    bio: null,
    can_create_group: true,
    can_create_project: true,
    color_scheme_id: 1,
    confirmed_at: '2020-06-16T14:15:52.451Z',
    created_at: '2020-06-16T14:15:52.579Z',
    current_sign_in_at: null,
    email: 'mlreef@example.org',
    external: false,
    id: 2,
    identities: [],
    last_activity_on: '2020-06-16',
    last_sign_in_at: null,
    linkedin: '',
    location: null,
    name: 'mlreef',
    organization: null,
    private_profile: false,
    projects_limit: 100000,
    public_email: '',
    skype: '',
    state: 'active',
    theme_id: 1,
    twitter: '',
    two_factor_enabled: false,
    username: 'mlreef',
    web_url: 'http://ec2-18-195-211-237.eu-central-1.compute.amazonaws.com:10080/mlreef',
    website_url: '',
  },
  username: 'mlreef',
};

export const projectsArrayMock = {
  projects: {
    all: [
      {
        id: 'df778df87d78f8d7fdfdf78df7877hjjhhjfd7887',
        gid: 14448940,
        gitlabId: 14448940,
        slug: 'some-slug',
        gitlabNamespace: 'some-namespace',
        description: 'Categorical Classification of alphabets in the American Sign Language',
        name: 'Sign Language Classifier',
        name_with_namespace: 'MLReef / Sign Language Classifier',
        path: 'sign-language-classifier',
        path_with_namespace: 'mlreef/sign-language-classifier',
        created_at: '2019-09-23T08:51:23.983Z',
        default_branch: 'master',
        tag_list: [],
        ssh_url_to_repo: 'git@gitlab.com:mlreef/sign-language-classifier.git',
        http_url_to_repo: 'https://gitlab.com/mlreef/sign-language-classifier.git',
        web_url: 'https://gitlab.com/mlreef/sign-language-classifier',
        readme_url: 'https://gitlab.com/mlreef/sign-language-classifier/blob/master/README.md',
        avatar_url: 'https://gitlab.com/uploads/-/system/project/avatar/14448940/proxy.duckduckgo.png',
        starsCount: 0,
        forks_count: 0,
        last_activity_at: '2019-11-10T15:14:17.804Z',
        namespace: 'some-namespace',
      },
    ],
    groupProject: [
      {
        archived: false,
        auto_cancel_pending_pipelines: 'enabled',
        auto_devops_deploy_strategy: 'continuous',
        auto_devops_enabled: false,
        autoclose_referenced_issues: true,
        avatar_url: null,
        build_coverage_regex: null,
        build_timeout: 18000,
        builds_access_level: 'enabled',
        ci_config_path: '.mlreef.yml',
        ci_default_git_depth: 50,
        container_registry_enabled: true,
        created_at: '2020-09-22T14:01:30.933Z',
        creator_id: 2,
        default_branch: 'master',
        description: '',
        empty_repo: false,
        forks_count: 0,
        http_url_to_repo: 'http://ec2-18-157-186-209.eu-central-1.compute.amazonaws.com:10080/test-group/group-project.git',
        id: 17,
        import_status: 'none',
        issues_access_level: 'enabled',
        issues_enabled: true,
        jobs_enabled: true,
        last_activity_at: '2020-09-22T19:42:50.049Z',
        lfs_enabled: true,
        merge_method: 'merge',
        merge_requests_access_level: 'enabled',
        merge_requests_enabled: true,
        name: 'group-project',
        name_with_namespace: 'Test-group / group-project',
        only_allow_merge_if_all_discussions_are_resolved: false,
        only_allow_merge_if_pipeline_succeeds: false,
        open_issues_count: 0,
        path: 'group-project',
        path_with_namespace: 'test-group/group-project',
        printing_merge_request_link_enabled: true,
        public_jobs: true,
        readme_url: 'http://ec2-18-157-186-209.eu-central-1.compute.amazonaws.com:10080/test-group/group-project/blob/master/README.md',
        remove_source_branch_after_merge: true,
      },
    ],
    backendProject: [
      {
        description: '',
        forksCount: 0,
        gitlabId: 17,
        gitlabNamespace: 'test-group',
        gitlabPath: 'group-project',
        id: '34637d13-4017-4568-b403-171346326399',
        inputDataTypes: [],
        members: [
          {
            avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
            id: 2,
            name: 'mlreef',
            state: 'active',
            username: 'mlreef',
            web_url: 'http://ec2-18-157-186-209.eu-central-1.compute.amazonaws.com:10080/mlreef',
          },
          {
            avatar_url: 'https://www.gravatar.com/avatar/348fb48e587076b292a68728f860539a?s=80&d=identicon',
            id: 3,
            name: 'user-B-isalem',
            state: 'active',
            username: 'user-B-isalem',
            web_url: 'http://ec2-18-157-186-209.eu-central-1.compute.amazonaws.com:10080/user-B-isalem',
          },
        ],
        name: 'group-project',
        outputDataTypes: [],
        ownerId: '46c1b2b7-7e26-43f8-b378-46dac83953ae',
        searchableType: 'DATA_PROJECT',
        slug: 'group-project',
        starsCount: 0,
        tags: [],
        url: 'http://ec2-18-157-186-209.eu-central-1.compute.amazonaws.com:10080/test-group/group-project',
        visibilityScope: 'PRIVATE',
      },
    ],
    selectedProject: {
      id: 'this-is-the-mlreef-uuid',
      gid: 12395599,
      description: 'This is MLReef´s demo repository.',
      gitlabName: 'demo',
      gitlabNamespace: 'mlreef',
      name: 'demo',
      namespace: 'my-namespace',
      slug: 'the-project-name',
      nameWithNamespace: 'MLReef / demo',
      path: 'mlreef-demo',
      pathWithNamespace: 'mlreef/mlreef-demo',
      createdAt: '2019-05-18T09:34:29.346Z',
      defaultBranch: 'master',
      tagList: [],
      sshUrlToRepo: 'git@gitlab.com:mlreef/mlreef-demo.git',
      httpUrlToRepo: 'https://gitlab.com/mlreef/mlreef-demo.git',
      webUrl: 'https://gitlab.com/mlreef/mlreef-demo',
      readmeUrl: 'https://gitlab.com/mlreef/mlreef-demo/blob/master/README.md',
      avatarUrl: 'https://gitlab.com/uploads/-/system/project/avatar/12395599/shutterstock_129655604-Converted-copy-text.png',
      starsCount: 2,
      forksCount: 1,
      lastActivityAt: '2019-11-11T10:36:06.189Z',
      projectStarrers: [
        {
          starred_since: '2020-09-16T14:41:07.871Z',
          user: {
            avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
            id: 2,
            name: 'mlreef',
            state: 'active',
            username: 'mlreef',
            web_url: 'http://ec2-18-192-20-20.eu-central-1.compute.amazonaws.com:10080/mlreef',
          },
        },
      ],
      searchableType: 'DATA_PROJECT',
      gitlab: {
        archived: false,
        autoCancelPendingPipelines: 'enabled',
        autoDevopsDeployStrategy: 'continuous',
        autoDevopsEnabled: false,
        autocloseReferencedIssues: true,
        avatarUrl: null,
        buildCoverageRegex: null,
        buildGitStrategy: 'fetch',
        buildTimeout: 18000,
        buildsAccessLevel: 'enabled',
        ciConfigPath: '.mlreef.yml',
        ciDefaultGitDepth: 50,
        containerRegistryEnabled: true,
        createdAt: '2020-10-10T17:59:40.947Z',
        creatorId: 2,
        defaultBranch: 'master',
        description: 'Description',
        emptyRepo: false,
        forksCount: 0,
        httpUrlToRepo: 'http://ec2-54-93-80-141.eu-central-1.compute.amazonaws.com:10080/mlreef/sign-language-classifier.git',
        id: 18,
        importError: null,
        importStatus: 'none',
        issuesAccessLevel: 'enabled',
        issuesEnabled: true,
        jobsEnabled: true,
        lastActivityAt: '2020-10-13T16:35:52.755Z',
        lfsEnabled: true,
        mergeMethod: 'merge',
        mergeRequestsAccessLevel: 'enabled',
        mergeRequestsEnabled: true,
        name: 'Sign Language Classifier Repo',
        nameWithNamespace: 'mlreef / Sign Language Classifier Repo',
        namespace: {
          avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
          full_path: 'mlreef',
          id: 2,
          kind: 'user',
          name: 'mlreef',
          parent_id: null,
          path: 'mlreef',
          web_url: 'http://ec2-54-93-80-141.eu-central-1.compute.amazonaws.com:10080/mlreef',
        },
        onlyAllowMergeIfAllDiscussionsAreResolved: false,
        onlyAllowMergeIfPipelineSucceeds: false,
        openIssuesCount: 0,
        owner: {
          username: 'mlreef',
        },
        path: 'sign-language-classifier',
        pathWithNamespace: 'mlreef/sign-language-classifier',
        permissions: {
          project_access: {
            access_level: 30,
          },
        },
        printingMergeRequestLinkEnabled: true,
        publicJobs: true,
        readmeUrl: 'http://ec2-54-93-80-141.eu-central-1.compute.amazonaws.com:10080/mlreef/sign-language-classifier/blob/master/README.md',
        removeSourceBranchAfterMerge: true,
        repositoryAccessLevel: 'enabled',
        requestAccessEnabled: true,
        resolveOutdatedDiffDiscussions: false,
        runnersToken: 'baHT4WW64SZoEpjyrctk',
        sharedRunnersEnabled: true,
        sharedWithGroups: [],
        snippetsAccessLevel: 'enabled',
        snippetsEnabled: true,
        sshUrlToRepo: 'git@ec2-54-93-80-141.eu-central-1.compute.amazonaws.com:mlreef/sign-language-classifier.git',
        starCount: 0,
        suggestionCommitMessage: null,
        tagList: [],
        visibility: 'public',
        webUrl: 'http://ec2-54-93-80-141.eu-central-1.compute.amazonaws.com:10080/mlreef/sign-language-classifier',
        wikiAccessLevel: 'enabled',
        wikiEnabled: true,
      },
    },
  },
  users: [
    {
      id: 3839940,
      name: 'cpmlreef',
      username: 'cpmlreef',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/3839940/avatar.png',
      web_url: 'https://gitlab.com/cpmlreef',
    },
  ],
};

export const groupsMock = [{
  id: 82,
  web_url: 'http://ec2-18-195-30-163.eu-central-1.compute.amazonaws.com:10080/groups/group-for-test',
  name: 'Group for Test',
  path: 'group-for-test',
  description: 'laala lalalata',
  visibility: 'public',
  share_with_group_lock: false,
  require_two_factor_authentication: false,
  two_factor_grace_period: 48,
  project_creation_level: 'developer',
  auto_devops_enabled: null,
  subgroup_creation_level: 'maintainer',
  emails_disabled: null,
  mentions_disabled: null,
  lfs_enabled: true,
  avatar_url: null,
  request_access_enabled: true,
  full_name: 'Group for Test',
  full_path: 'group-for-test',
  parent_id: null,
  projects: [],
}, 
{
  id: 83,
  web_url: 'http://ec2-18-195-30-163.eu-central-1.compute.amazonaws.com:10080/groups/group-for-test',
  name: 'Group for Test 1',
  path: 'group-for-test-1',
  description: 'laala lalalata',
  visibility: 'private',
  share_with_group_lock: false,
  require_two_factor_authentication: false,
  two_factor_grace_period: 48,
  project_creation_level: 'developer',
  auto_devops_enabled: null,
  subgroup_creation_level: 'maintainer',
  emails_disabled: null,
  mentions_disabled: null,
  lfs_enabled: true,
  avatar_url: null,
  request_access_enabled: true,
  full_name: 'Group for Test',
  full_path: 'group-for-test-1',
  parent_id: null,
  projects: [],
}
];

export const usersArrayMock = [{
  name: 'mlreef',
  avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
  userInfo: {
    id: 2,
    name: 'mlreef',
    username: 'mlreef',
    state: 'active',
    avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
    web_url: 'http://ec2-52-57-196-223.eu-central-1.compute.amazonaws.com:10080/mlreef',
  },
},
];

// Update branches mock with new branch naming fashion
// such as data-pipeline/, experiment/ instead of data-instance/
export const branchesMock = [
  {
    name: 'data-instance/happy-whale',
    commit: {
      id: '12e05078d142b2bee947e86d6a52db4a5f85eb65',
      short_id: '12e05078',
      created_at: '2019-11-01T21:08:23.000+00:00',
      parent_ids: null,
      title: 'Add pipeline results [skip ci]',
      message: 'Add pipeline results [skip ci]',
      author_name: 'mlreefdemo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-11-01T21:08:23.000+00:00',
      committer_name: 'mlreefdemo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-11-01T21:08:23.000+00:00',
    },
    merged: false,
    protected: false,
    developers_can_push: false,
    developers_can_merge: false,
    can_push: true,
    default: false,
  },
  {
    name: 'data-instance/lazy-shark',
    commit: {
      id: '3e36bfab31a1d43457e00f46af9e6d31d4f55a66',
      short_id: '3e36bfab',
      created_at: '2019-11-14T20:32:52.000+00:00',
      parent_ids: null,
      title: 'Add pipeline results [skip ci]',
      message: 'Add pipeline results [skip ci]',
      author_name: 'mlreefdemo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-11-14T20:32:52.000+00:00',
      committer_name: 'mlreefdemo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-11-14T20:32:52.000+00:00',
    },
    merged: false,
    protected: false,
    developers_can_push: false,
    developers_can_merge: false,
    can_push: true,
    default: false,
  },
  {
    name: 'master',
    commit: {
      id: '3e36bfab31a1d43457e00f46af9e6d31d4f55a66',
      short_id: '3e36bfab',
      created_at: '2019-11-14T20:32:52.000+00:00',
      parent_ids: null,
      title: 'Add pipeline results [skip ci]',
      message: 'Add pipeline results [skip ci]',
      author_name: 'mlreefdemo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-11-14T20:32:52.000+00:00',
      committer_name: 'mlreefdemo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-11-14T20:32:52.000+00:00',
    },
    merged: false,
    protected: true,
    developers_can_push: false,
    developers_can_merge: false,
    can_push: true,
    default: true,
  },
  {
    name: 'data-visualisation/flubby-seahorse',
    commit: {
      id: '3e36bfab31a1d43457e00f46af9e6d31d4f55a66',
      short_id: '3e36bfab',
      created_at: '2019-11-14T20:32:52.000+00:00',
      parent_ids: null,
      title: 'Add pipeline results [skip ci]',
      message: 'Add pipeline results [skip ci]',
      author_name: 'mlreefdemo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-11-14T20:32:52.000+00:00',
      committer_name: 'mlreefdemo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-11-14T20:32:52.000+00:00',
    },
    merged: false,
    protected: false,
    developers_can_push: false,
    developers_can_merge: false,
    can_push: true,
    default: false,
  },
  {
    "name": "data-pipeline/alive-eel-5052021164311-1",
    "commit": {
      "id": "1ad2ab832334c999085c5a189c542bd63794badc",
      "short_id": "1ad2ab83",
      "created_at": "2021-05-05T16:43:12.000+00:00",
      "parent_ids": null,
      "title": "[skip ci] create .mlreef.yml",
      "message": "[skip ci] create .mlreef.yml",
      "author_name": "mlreef",
      "author_email": "mlreef@example.org",
      "authored_date": "2021-05-05T16:43:12.000+00:00",
      "committer_name": "mlreef",
      "committer_email": "mlreef@example.org",
      "committed_date": "2021-05-05T16:43:12.000+00:00"
    },
    "merged": false,
    "protected": false,
    "developers_can_push": false,
    "developers_can_merge": false,
    "can_push": true,
    "default": false
  },
  {
    "name": "data-pipeline/alive-eel-5052021164311-2",
    "commit": {
      "id": "1ad2ab832334c999085c5a189c542bd63794badc",
      "short_id": "1ad2ab83",
      "created_at": "2021-05-05T16:43:12.000+00:00",
      "parent_ids": null,
      "title": "[skip ci] create .mlreef.yml",
      "message": "[skip ci] create .mlreef.yml",
      "author_name": "mlreef",
      "author_email": "mlreef@example.org",
      "authored_date": "2021-05-05T16:43:12.000+00:00",
      "committer_name": "mlreef",
      "committer_email": "mlreef@example.org",
      "committed_date": "2021-05-05T16:43:12.000+00:00"
    },
    "merged": false,
    "protected": false,
    "developers_can_push": false,
    "developers_can_merge": false,
    "can_push": true,
    "default": false
  }
];

export const jobMock = {
  id: 386629443,
  status: 'canceled',
  stage: 'test',
  name: 'model-experiment',
  ref: 'experiment/08e94760',
  tag: false,
  coverage: null,
  allow_failure: false,
  created_at: '2019-12-21T22:45:51.679Z',
  started_at: '2019-12-21T22:45:53.352Z',
  finished_at: '2019-12-21T22:54:51.516Z',
  duration: 538.164457,
  user: {
    id: 4273308,
    name: 'Andres Ausecha',
    username: 'andres46',
    state: 'active',
    avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
    web_url: 'https://gitlab.com/andres46',
    created_at: '2019-07-09T14:52:13.962Z',
    bio: '',
    location: '',
    public_email: '',
    skype: '',
    linkedin: '',
    twitter: '',
    website_url: '',
    organization: '',
  },
  commit: {
    id: '18a7f1961f427cdcf242844f6271823aadb371b1',
    short_id: '18a7f196',
    created_at: '2019-12-20T10:46:56.000+00:00',
    parent_ids: [
      'd80ab8ff15fb1f327bac0f5679b454cbec247759',
    ],
    title: 'pipeline execution',
    message: 'pipeline execution',
    author_name: 'MLReef Demo',
    author_email: 'rainer+mlreefdemo@systemkern.com',
    authored_date: '2019-12-20T10:46:56.000+00:00',
    committer_name: 'MLReef Demo',
    committer_email: 'rainer+mlreefdemo@systemkern.com',
    committed_date: '2019-12-20T10:46:56.000+00:00',
  },
  pipeline: {
    id: 104595479,
    sha: '18a7f1961f427cdcf242844f6271823aadb371b1',
    ref: 'experiment/08e94760',
    status: 'canceled',
    created_at: '2019-12-20T10:46:57.512Z',
    updated_at: '2019-12-21T22:54:51.599Z',
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/104595479',
  },
  web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/386629443',
  artifacts: [
    {
      file_type: 'trace',
      size: 287949,
      filename: 'job.log',
      file_format: null,
    },
  ],
  runner: {
    id: 1411494,
    description: 'mlreef-aiops-dispatch-feature-create-user-in-gitlab',
    ip_address: '3.120.34.198',
    active: true,
    is_shared: false,
    name: 'gitlab-ci-multi-runner',
    online: false,
    status: 'offline',
  },
  artifacts_expire_at: null,
};
export const mockDataInstancesList = [
  {
    status: RUNNING,
    values: [{
      name: 'DI_Data_Pipeline_Name_1',
      creator: 'UserName',
      timeAgo: '',
      completedPercentage: '---',
      filesChanged: '---',
    }],
  },
  {
    status: SUCCESS,
    values: [{
      name: 'DI_Data_Pipeline_Name_2',
      creator: 'UserName',
      timeAgo: '',
      completedPercentage: '---',
      filesChanged: '---',
      spaceUsed: '---',
      expiresIn: '---',
    }],
  },
  {
    status: EXPIRED,
    values: [{
      name: 'DI_Data_Pipeline_Name_3',
      creator: 'UserName',
      timeAgo: '',
      completedPercentage: '---',
      filesChanged: '---',
    },
    {
      name: 'DI_Data_Pipeline_Name_4',
      creator: 'UserName',
      timeAgo: '',
      completedPercentage: '---',
      filesChanged: '---',
    }],
  },
];

export const mockMergeRequests = [
  {
    id: 5,
    iid: 3,
    project_id: 16,
    title: 'wefwef',
    description: 'wefwef',
    state: 'opened',
    created_at: '2020-10-13T23:32:13.768Z',
    updated_at: '2020-10-14T18:38:23.326Z',
    merged_by: null,
    merged_at: null,
    closed_by: null,
    closed_at: null,
    target_branch: 'data-pipeline/sound-siren-12102020-1',
    source_branch: 'master',
    user_notes_count: 0,
    upvotes: 0,
    downvotes: 0,
    assignee: null,
    author: {
      id: 2,
      name: 'mlreef',
      username: 'mlreef',
      state: 'active',
      avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
      web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef',
    },
    assignees: [],
    source_project_id: 16,
    target_project_id: 16,
    labels: [],
    work_in_progress: false,
    milestone: null,
    merge_when_pipeline_succeeds: false,
    merge_status: 'can_be_merged',
    sha: 'b2b88065f49c826d4b3a6d33bcb391ac1d801e09',
    merge_commit_sha: null,
    squash_commit_sha: null,
    discussion_locked: null,
    should_remove_source_branch: null,
    force_remove_source_branch: null,
    reference: '!3',
    references: {
      short: '!3',
      relative: '!3',
      full: 'mlreef/sign-language-classifier!3',
    },
    web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef/sign-language-classifier/merge_requests/3',
    time_stats: {
      time_estimate: 0,
      total_time_spent: 0,
      human_time_estimate: null,
      human_total_time_spent: null,
    },
    squash: false,
    task_completion_status: {
      count: 0,
      completed_count: 0,
    },
    has_conflicts: false,
    blocking_discussions_resolved: true,
  },
  {
    id: 3,
    iid: 2,
    project_id: 16,
    title: 'wefwef',
    description: 'efwefwe',
    state: 'opened',
    created_at: '2020-10-13T15:57:42.508Z',
    updated_at: '2020-10-13T15:57:42.508Z',
    merged_by: null,
    merged_at: null,
    closed_by: null,
    closed_at: null,
    target_branch: 'master',
    source_branch: 'jejejeje3',
    user_notes_count: 0,
    upvotes: 0,
    downvotes: 0,
    assignee: null,
    author: {
      id: 2,
      name: 'mlreef',
      username: 'mlreef',
      state: 'active',
      avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
      web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef',
    },
    assignees: [],
    source_project_id: 16,
    target_project_id: 16,
    labels: [],
    work_in_progress: false,
    milestone: null,
    merge_when_pipeline_succeeds: false,
    merge_status: 'can_be_merged',
    sha: '3e9554fa6cfa7364c5e4020e460bbd50168f122e',
    merge_commit_sha: null,
    squash_commit_sha: null,
    discussion_locked: null,
    should_remove_source_branch: null,
    force_remove_source_branch: null,
    reference: '!2',
    references: {
      short: '!2',
      relative: '!2',
      full: 'mlreef/sign-language-classifier!2',
    },
    web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef/sign-language-classifier/merge_requests/2',
    time_stats: {
      time_estimate: 0,
      total_time_spent: 0,
      human_time_estimate: null,
      human_total_time_spent: null,
    },
    squash: false,
    task_completion_status: {
      count: 0,
      completed_count: 0,
    },
    has_conflicts: false,
    blocking_discussions_resolved: true,
  },
  {
    id: 2,
    iid: 1,
    project_id: 16,
    title: 'jeje 3',
    description: 'jeje 3 changin master for deleting a cat',
    state: 'merged',
    created_at: '2020-10-13T13:37:39.493Z',
    updated_at: '2020-10-13T13:37:53.367Z',
    merged_by: {
      id: 2,
      name: 'mlreef',
      username: 'mlreef',
      state: 'active',
      avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
      web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef',
    },
    merged_at: '2020-10-13T13:37:53.428Z',
    closed_by: null,
    closed_at: null,
    target_branch: 'master',
    source_branch: 'jeje3',
    user_notes_count: 0,
    upvotes: 0,
    downvotes: 0,
    assignee: null,
    author: {
      id: 2,
      name: 'mlreef',
      username: 'mlreef',
      state: 'active',
      avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
      web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef',
    },
    assignees: [],
    source_project_id: 16,
    target_project_id: 16,
    labels: [],
    work_in_progress: false,
    milestone: null,
    merge_when_pipeline_succeeds: false,
    merge_status: 'can_be_merged',
    sha: '839f087e74cff4e25974b22916d104db1a7bf19b',
    merge_commit_sha: '041e116981cc9f2080091153b7239672b91111be',
    squash_commit_sha: null,
    discussion_locked: null,
    should_remove_source_branch: null,
    force_remove_source_branch: null,
    reference: '!1',
    references: {
      short: '!1',
      relative: '!1',
      full: 'mlreef/sign-language-classifier!1',
    },
    web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef/sign-language-classifier/merge_requests/1',
    time_stats: {
      time_estimate: 0,
      total_time_spent: 0,
      human_time_estimate: null,
      human_total_time_spent: null,
    },
    squash: false,
    task_completion_status: {
      count: 0,
      completed_count: 0,
    },
    has_conflicts: false,
    blocking_discussions_resolved: true,
  },
];

export const mockDataVisualizations = [
  {
    id: 422573053,
    status: 'canceled',
    stage: 'test',
    name: 'data-visualization',
    ref: 'data-visualization/social-walrus_3112020',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-31T22:05:39.547Z',
    started_at: null,
    finished_at: '2020-01-31T22:06:22.609Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: 'f3de3a025bb1c3f0b21f9d3857c290876b98c770',
      short_id: 'f3de3a02',
      created_at: '2020-01-31T22:05:38.000+00:00',
      parent_ids: [
        'a4b5496ccfa18a1a565c403ee43be611ec040c5b',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-31T22:05:38.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-31T22:05:38.000+00:00',
    },
    pipeline: {
      id: 114093401,
      sha: 'f3de3a025bb1c3f0b21f9d3857c290876b98c770',
      ref: 'data-visualization/social-walrus_3112020',
      status: 'canceled',
      created_at: '2020-01-31T22:05:39.526Z',
      updated_at: '2020-01-31T22:06:22.682Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/114093401',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/422573053',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 421109320,
    status: 'failed',
    stage: 'test',
    name: 'data-visualization',
    ref: 'data-visualization/pretty-algae_3012020',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-30T18:35:49.041Z',
    started_at: null,
    finished_at: '2020-01-31T13:03:42.663Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '4356cab7250be60b42cd38f485a423862bb124ef',
      short_id: '4356cab7',
      created_at: '2020-01-30T18:35:47.000+00:00',
      parent_ids: [
        'a4b5496ccfa18a1a565c403ee43be611ec040c5b',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-30T18:35:47.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-30T18:35:47.000+00:00',
    },
    pipeline: {
      id: 113731625,
      sha: '4356cab7250be60b42cd38f485a423862bb124ef',
      ref: 'data-visualization/pretty-algae_3012020',
      status: 'failed',
      created_at: '2020-01-30T18:35:49.020Z',
      updated_at: '2020-01-31T13:03:42.749Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/113731625',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/421109320',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 419641599,
    status: 'failed',
    stage: 'test',
    name: 'data-visualization',
    ref: 'data-visualization/major-clownfish_2912020',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-29T23:15:43.907Z',
    started_at: null,
    finished_at: '2020-01-30T12:03:33.813Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '7bfd654522d1caeb33c82f61b1051883a7992f91',
      short_id: '7bfd6545',
      created_at: '2020-01-29T23:15:42.000+00:00',
      parent_ids: [
        'a4b5496ccfa18a1a565c403ee43be611ec040c5b',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-29T23:15:42.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-29T23:15:42.000+00:00',
    },
    pipeline: {
      id: 113437726,
      sha: '7bfd654522d1caeb33c82f61b1051883a7992f91',
      ref: 'data-visualization/major-clownfish_2912020',
      status: 'failed',
      created_at: '2020-01-29T23:15:43.897Z',
      updated_at: '2020-01-30T12:03:33.910Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/113437726',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/419641599',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 419640851,
    status: 'failed',
    stage: 'test',
    name: 'data-visualization',
    ref: 'data-visualization/clear-plankton_2912020',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-29T23:14:06.610Z',
    started_at: null,
    finished_at: '2020-01-30T12:03:32.978Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: 'c37b891d2cb5e499601292ce3f04eb00a2473d32',
      short_id: 'c37b891d',
      created_at: '2020-01-29T23:14:05.000+00:00',
      parent_ids: [
        'a4b5496ccfa18a1a565c403ee43be611ec040c5b',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-29T23:14:05.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-29T23:14:05.000+00:00',
    },
    pipeline: {
      id: 113437458,
      sha: 'c37b891d2cb5e499601292ce3f04eb00a2473d32',
      ref: 'data-visualization/clear-plankton_2912020',
      status: 'failed',
      created_at: '2020-01-29T23:14:06.595Z',
      updated_at: '2020-01-30T12:03:33.069Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/113437458',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/419640851',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 418702511,
    status: 'failed',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/humble-clownfish_2912020',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-29T11:54:41.141Z',
    started_at: null,
    finished_at: '2020-01-29T21:03:35.536Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: 'cc7518bd1b2c9be1bd3250b52ba37e14c4baf0bb',
      short_id: 'cc7518bd',
      created_at: '2020-01-29T11:54:39.000+00:00',
      parent_ids: [
        'a4b5496ccfa18a1a565c403ee43be611ec040c5b',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-29T11:54:39.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-29T11:54:39.000+00:00',
    },
    pipeline: {
      id: 113233673,
      sha: 'cc7518bd1b2c9be1bd3250b52ba37e14c4baf0bb',
      ref: 'experiment/humble-clownfish_2912020',
      status: 'failed',
      created_at: '2020-01-29T11:54:41.116Z',
      updated_at: '2020-01-29T21:03:35.618Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/113233673',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/418702511',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 417606504,
    status: 'canceled',
    stage: 'test',
    name: 'data-pipeline',
    ref: 'data-pipeline/282175f0',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-28T15:16:36.160Z',
    started_at: null,
    finished_at: '2020-01-29T09:34:59.423Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '41e6ca11721b8ce08fb1c2521cd2aa1cdd45aec9',
      short_id: '41e6ca11',
      created_at: '2020-01-28T15:16:34.000+00:00',
      parent_ids: [
        'a4b5496ccfa18a1a565c403ee43be611ec040c5b',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-28T15:16:34.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-28T15:16:34.000+00:00',
    },
    pipeline: {
      id: 112976386,
      sha: '41e6ca11721b8ce08fb1c2521cd2aa1cdd45aec9',
      ref: 'data-pipeline/282175f0',
      status: 'canceled',
      created_at: '2020-01-28T15:16:36.140Z',
      updated_at: '2020-01-29T09:34:59.515Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/112976386',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/417606504',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 416433759,
    status: 'failed',
    stage: 'test',
    name: 'data-pipeline',
    ref: 'data-pipeline/fit-jellyfish',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-27T18:05:30.344Z',
    started_at: null,
    finished_at: '2020-01-28T05:00:41.442Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '6af62c9c002ee3a65417add3fa150ea2e02bf018',
      short_id: '6af62c9c',
      created_at: '2020-01-27T18:05:29.000+00:00',
      parent_ids: [
        'a4b5496ccfa18a1a565c403ee43be611ec040c5b',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-27T18:05:29.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-27T18:05:29.000+00:00',
    },
    pipeline: {
      id: 112684846,
      sha: '6af62c9c002ee3a65417add3fa150ea2e02bf018',
      ref: 'data-pipeline/fit-jellyfish',
      status: 'failed',
      created_at: '2020-01-27T18:05:30.320Z',
      updated_at: '2020-01-28T05:00:41.539Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/112684846',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/416433759',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 416197790,
    status: 'failed',
    stage: 'test',
    name: 'data-pipeline',
    ref: 'data-pipeline/829c3fc0',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-27T15:20:21.942Z',
    started_at: null,
    finished_at: '2020-01-27T23:00:44.199Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: 'cf2434d124362353edaea06443167803a09e6a9a',
      short_id: 'cf2434d1',
      created_at: '2020-01-27T15:20:20.000+00:00',
      parent_ids: [
        'a4b5496ccfa18a1a565c403ee43be611ec040c5b',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-27T15:20:20.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-27T15:20:20.000+00:00',
    },
    pipeline: {
      id: 112633745,
      sha: 'cf2434d124362353edaea06443167803a09e6a9a',
      ref: 'data-pipeline/829c3fc0',
      status: 'failed',
      created_at: '2020-01-27T15:20:21.921Z',
      updated_at: '2020-01-27T23:00:44.294Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/112633745',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/416197790',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 413823965,
    status: 'failed',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/balanced-siren',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-24T09:50:23.572Z',
    started_at: null,
    finished_at: '2020-01-24T16:00:21.094Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: 'd7c8cd344bc9a8172773a21fa2fe5002ab987c8e',
      short_id: 'd7c8cd34',
      created_at: '2020-01-24T09:50:22.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-24T09:50:22.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-24T09:50:22.000+00:00',
    },
    pipeline: {
      id: 111962461,
      sha: 'd7c8cd344bc9a8172773a21fa2fe5002ab987c8e',
      ref: 'experiment/balanced-siren',
      status: 'failed',
      created_at: '2020-01-24T09:50:23.549Z',
      updated_at: '2020-01-24T16:00:21.210Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/111962461',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/413823965',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 399506591,
    status: 'failed',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/2482c6c0',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2020-01-10T15:16:19.816Z',
    started_at: null,
    finished_at: '2020-01-11T02:01:36.668Z',
    duration: null,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '87928d394b6bbaf9bca2f3efaad3d67ac2412a6b',
      short_id: '87928d39',
      created_at: '2020-01-10T15:16:18.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'Andres Ausecha',
      author_email: 'andres@aamsis.co',
      authored_date: '2020-01-10T15:16:18.000+00:00',
      committer_name: 'Andres Ausecha',
      committer_email: 'andres@aamsis.co',
      committed_date: '2020-01-10T15:16:18.000+00:00',
    },
    pipeline: {
      id: 108435183,
      sha: '87928d394b6bbaf9bca2f3efaad3d67ac2412a6b',
      ref: 'experiment/2482c6c0',
      status: 'failed',
      created_at: '2020-01-10T15:16:19.749Z',
      updated_at: '2020-01-11T02:01:36.752Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/108435183',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/399506591',
    artifacts: [],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 386629443,
    status: 'canceled',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/08e94760',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-12-21T22:45:51.679Z',
    started_at: '2019-12-21T22:45:53.352Z',
    finished_at: '2019-12-21T22:54:51.516Z',
    duration: 538.164457,
    user: {
      id: 4273308,
      name: 'Andres Ausecha',
      username: 'andres46',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4273308/avatar.png',
      web_url: 'https://gitlab.com/andres46',
      created_at: '2019-07-09T14:52:13.962Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '18a7f1961f427cdcf242844f6271823aadb371b1',
      short_id: '18a7f196',
      created_at: '2019-12-20T10:46:56.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-12-20T10:46:56.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-12-20T10:46:56.000+00:00',
    },
    pipeline: {
      id: 104595479,
      sha: '18a7f1961f427cdcf242844f6271823aadb371b1',
      ref: 'experiment/08e94760',
      status: 'canceled',
      created_at: '2019-12-20T10:46:57.512Z',
      updated_at: '2019-12-21T22:54:51.599Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/104595479',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/386629443',
    artifacts: [
      {
        file_type: 'trace',
        size: 287949,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: {
      id: 1411494,
      description: 'mlreef-aiops-dispatch-feature-create-user-in-gitlab',
      ip_address: '3.120.34.198',
      active: true,
      is_shared: false,
      name: 'gitlab-ci-multi-runner',
      online: false,
      status: 'offline',
    },
    artifacts_expire_at: null,
  },
  {
    id: 385667440,
    status: 'failed',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/08e94760',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-12-20T10:46:57.524Z',
    started_at: '2019-12-20T10:46:58.543Z',
    finished_at: '2019-12-20T12:57:30.737Z',
    duration: 7832.193962,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '18a7f1961f427cdcf242844f6271823aadb371b1',
      short_id: '18a7f196',
      created_at: '2019-12-20T10:46:56.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-12-20T10:46:56.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-12-20T10:46:56.000+00:00',
    },
    pipeline: {
      id: 104595479,
      sha: '18a7f1961f427cdcf242844f6271823aadb371b1',
      ref: 'experiment/08e94760',
      status: 'canceled',
      created_at: '2019-12-20T10:46:57.512Z',
      updated_at: '2019-12-21T22:54:51.599Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/104595479',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/385667440',
    artifacts: [
      {
        file_type: 'trace',
        size: 4194360,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: {
      id: 1411494,
      description: 'mlreef-aiops-dispatch-feature-create-user-in-gitlab',
      ip_address: '3.120.34.198',
      active: true,
      is_shared: false,
      name: 'gitlab-ci-multi-runner',
      online: false,
      status: 'offline',
    },
    artifacts_expire_at: null,
  },
  {
    id: 385662042,
    status: 'failed',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/4d42cbd0',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-12-20T10:41:43.390Z',
    started_at: '2019-12-20T10:41:46.543Z',
    finished_at: '2019-12-20T10:44:40.062Z',
    duration: 173.518986,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '03cbdca33b2fbef8b927940c312671132e6f1048',
      short_id: '03cbdca3',
      created_at: '2019-12-20T10:41:42.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-12-20T10:41:42.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-12-20T10:41:42.000+00:00',
    },
    pipeline: {
      id: 104594184,
      sha: '03cbdca33b2fbef8b927940c312671132e6f1048',
      ref: 'experiment/4d42cbd0',
      status: 'failed',
      created_at: '2019-12-20T10:41:43.378Z',
      updated_at: '2019-12-20T10:44:40.130Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/104594184',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/385662042',
    artifacts: [
      {
        file_type: 'trace',
        size: 6435,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: {
      id: 1411494,
      description: 'mlreef-aiops-dispatch-feature-create-user-in-gitlab',
      ip_address: '3.120.34.198',
      active: true,
      is_shared: false,
      name: 'gitlab-ci-multi-runner',
      online: false,
      status: 'offline',
    },
    artifacts_expire_at: null,
  },
  {
    id: 385656662,
    status: 'failed',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/ad5c8020',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-12-20T10:37:14.987Z',
    started_at: '2019-12-20T10:37:16.500Z',
    finished_at: '2019-12-20T10:40:53.775Z',
    duration: 217.275237,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: 'f1693580b947011aac0934ca31f4451c6c756e83',
      short_id: 'f1693580',
      created_at: '2019-12-20T10:37:13.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-12-20T10:37:13.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-12-20T10:37:13.000+00:00',
    },
    pipeline: {
      id: 104592993,
      sha: 'f1693580b947011aac0934ca31f4451c6c756e83',
      ref: 'experiment/ad5c8020',
      status: 'failed',
      created_at: '2019-12-20T10:37:14.975Z',
      updated_at: '2019-12-20T10:40:53.836Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/104592993',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/385656662',
    artifacts: [
      {
        file_type: 'trace',
        size: 7227,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: {
      id: 1411494,
      description: 'mlreef-aiops-dispatch-feature-create-user-in-gitlab',
      ip_address: '3.120.34.198',
      active: true,
      is_shared: false,
      name: 'gitlab-ci-multi-runner',
      online: false,
      status: 'offline',
    },
    artifacts_expire_at: null,
  },
  {
    id: 385623035,
    status: 'canceled',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/bc4440e0',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-12-20T10:09:04.018Z',
    started_at: '2019-12-20T10:09:07.292Z',
    finished_at: '2019-12-20T10:31:54.850Z',
    duration: 1367.558408,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '1be2fac90707d1e3430e0a183ce781d494fcd52d',
      short_id: '1be2fac9',
      created_at: '2019-12-20T10:09:02.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-12-20T10:09:02.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-12-20T10:09:02.000+00:00',
    },
    pipeline: {
      id: 104585378,
      sha: '1be2fac90707d1e3430e0a183ce781d494fcd52d',
      ref: 'experiment/bc4440e0',
      status: 'canceled',
      created_at: '2019-12-20T10:09:04.000Z',
      updated_at: '2019-12-20T10:31:54.920Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/104585378',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/385623035',
    artifacts: [
      {
        file_type: 'trace',
        size: 4194360,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: {
      id: 1281002,
      description: 'aiops-feature-add-gitlab-instance',
      ip_address: '54.93.56.60',
      active: true,
      is_shared: false,
      name: 'gitlab-ci-multi-runner',
      online: false,
      status: 'offline',
    },
    artifacts_expire_at: null,
  },
  {
    id: 385538119,
    status: 'canceled',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/53622440',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-12-20T09:16:04.158Z',
    started_at: '2019-12-20T09:16:07.003Z',
    finished_at: '2019-12-20T10:09:37.655Z',
    duration: 3210.651861,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '85cc49b121e51f73d01e307756ed77afcf50c30a',
      short_id: '85cc49b1',
      created_at: '2019-12-20T09:16:03.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-12-20T09:16:03.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-12-20T09:16:03.000+00:00',
    },
    pipeline: {
      id: 104565797,
      sha: '85cc49b121e51f73d01e307756ed77afcf50c30a',
      ref: 'experiment/53622440',
      status: 'canceled',
      created_at: '2019-12-20T09:16:04.146Z',
      updated_at: '2019-12-20T10:09:37.736Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/104565797',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/385538119',
    artifacts: [
      {
        file_type: 'trace',
        size: 1213908,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: {
      id: 1411494,
      description: 'mlreef-aiops-dispatch-feature-create-user-in-gitlab',
      ip_address: '3.120.34.198',
      active: true,
      is_shared: false,
      name: 'gitlab-ci-multi-runner',
      online: false,
      status: 'offline',
    },
    artifacts_expire_at: null,
  },
  {
    id: 385532031,
    status: 'canceled',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/a4c8e040',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-12-20T09:11:08.027Z',
    started_at: '2019-12-20T09:11:09.986Z',
    finished_at: '2019-12-20T10:09:30.287Z',
    duration: 3500.300995,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '1728471eb495e3ffbb5c0b6bd3c8a579a4445cfa',
      short_id: '1728471e',
      created_at: '2019-12-20T09:11:06.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-12-20T09:11:06.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-12-20T09:11:06.000+00:00',
    },
    pipeline: {
      id: 104564616,
      sha: '1728471eb495e3ffbb5c0b6bd3c8a579a4445cfa',
      ref: 'experiment/a4c8e040',
      status: 'canceled',
      created_at: '2019-12-20T09:11:08.005Z',
      updated_at: '2019-12-20T10:09:30.357Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/104564616',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/385532031',
    artifacts: [
      {
        file_type: 'trace',
        size: 1326020,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: {
      id: 1411494,
      description: 'mlreef-aiops-dispatch-feature-create-user-in-gitlab',
      ip_address: '3.120.34.198',
      active: true,
      is_shared: false,
      name: 'gitlab-ci-multi-runner',
      online: false,
      status: 'offline',
    },
    artifacts_expire_at: null,
  },
  {
    id: 357440231,
    status: 'success',
    stage: 'test',
    name: 'data-pipeline',
    ref: 'data-pipeline/f6e70e00',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-11-21T13:22:40.640Z',
    started_at: '2019-11-21T13:22:41.264Z',
    finished_at: '2019-11-21T13:29:42.240Z',
    duration: 420.976724,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '61bb9a04d943f5b89f6adcdae535a587134e3df7',
      short_id: '61bb9a04',
      created_at: '2019-11-21T13:22:39.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-11-21T13:22:39.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-11-21T13:22:39.000+00:00',
    },
    pipeline: {
      id: 97579631,
      sha: '61bb9a04d943f5b89f6adcdae535a587134e3df7',
      ref: 'data-pipeline/f6e70e00',
      status: 'success',
      created_at: '2019-11-21T13:22:40.612Z',
      updated_at: '2019-11-21T13:29:42.320Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/97579631',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/357440231',
    artifacts: [
      {
        file_type: 'trace',
        size: 26660,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: {
      id: 1281002,
      description: 'aiops-feature-add-gitlab-instance',
      ip_address: '54.93.56.60',
      active: true,
      is_shared: false,
      name: 'gitlab-ci-multi-runner',
      online: false,
      status: 'offline',
    },
    artifacts_expire_at: null,
  },
  {
    id: 356170434,
    status: 'failed',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/e2582990',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-11-20T13:08:52.452Z',
    started_at: '2019-11-20T13:08:53.531Z',
    finished_at: '2019-11-20T20:42:12.150Z',
    duration: 27198.619498,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: '53f4ca6f2b93f73dff05e0533e83dc742d26db20',
      short_id: '53f4ca6f',
      created_at: '2019-11-20T13:08:50.000+00:00',
      parent_ids: [
        'd80ab8ff15fb1f327bac0f5679b454cbec247759',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-11-20T13:08:50.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-11-20T13:08:50.000+00:00',
    },
    pipeline: {
      id: 97274916,
      sha: '53f4ca6f2b93f73dff05e0533e83dc742d26db20',
      ref: 'experiment/e2582990',
      status: 'failed',
      created_at: '2019-11-20T13:08:52.438Z',
      updated_at: '2019-11-20T20:42:12.231Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/97274916',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/356170434',
    artifacts: [
      {
        file_type: 'trace',
        size: 3552583,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: null,
    artifacts_expire_at: null,
  },
  {
    id: 326847869,
    status: 'success',
    stage: 'test',
    name: 'model-experiment',
    ref: 'experiment/562462b0',
    tag: false,
    coverage: null,
    allow_failure: false,
    created_at: '2019-10-21T14:37:44.143Z',
    started_at: '2019-10-21T14:37:44.781Z',
    finished_at: '2019-10-21T18:17:26.514Z',
    duration: 13181.733773,
    user: {
      id: 4462517,
      name: 'MLReef Demo',
      username: 'mlreefdemo',
      state: 'active',
      avatar_url: 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/4462517/avatar.png',
      web_url: 'https://gitlab.com/mlreefdemo',
      created_at: '2019-08-15T12:58:29.948Z',
      bio: '',
      location: '',
      public_email: '',
      skype: '',
      linkedin: '',
      twitter: '',
      website_url: '',
      organization: '',
    },
    commit: {
      id: 'be0a0a5d3933054fc6aeecf94bcadd93a6673015',
      short_id: 'be0a0a5d',
      created_at: '2019-10-21T14:37:42.000+00:00',
      parent_ids: [
        '6819ee9d2e8f7796887cc87af2d396c9894a2ebf',
      ],
      title: 'pipeline execution',
      message: 'pipeline execution',
      author_name: 'MLReef Demo',
      author_email: 'rainer+mlreefdemo@systemkern.com',
      authored_date: '2019-10-21T14:37:42.000+00:00',
      committer_name: 'MLReef Demo',
      committer_email: 'rainer+mlreefdemo@systemkern.com',
      committed_date: '2019-10-21T14:37:42.000+00:00',
    },
    pipeline: {
      id: 90259964,
      sha: 'be0a0a5d3933054fc6aeecf94bcadd93a6673015',
      ref: 'experiment/562462b0',
      status: 'success',
      created_at: '2019-10-21T14:37:44.115Z',
      updated_at: '2019-10-21T18:17:26.584Z',
      web_url: 'https://gitlab.com/mlreef/sign-language-classifier/pipelines/90259964',
    },
    web_url: 'https://gitlab.com/mlreef/sign-language-classifier/-/jobs/326847869',
    artifacts: [
      {
        file_type: 'trace',
        size: 1485307,
        filename: 'job.log',
        file_format: null,
      },
    ],
    runner: null,
    artifacts_expire_at: null,
  },
];

/* Data Pipelines mock data used for test cases only */
export const dataPipeLines = [
  {
    id: '01000000-0000-0001-0002-000000000000',
    slug: 'commons-augment',
    name: 'Augment',
    inputDataType: ['IMAGE'],
    outputDataType: ['IMAGE'],
    type: 'OPERATION',
    visibilityScope: 'PUBLIC',
    description: 'Data augmentation multiplies and tweakes the data by changing angle of rotation, flipping the images, zooming in, etc.',
    codeProjectId: '01000000-0000-0001-0001-000000000000',
    authorId: 'aaaa0000-0001-0000-0000-cccccccccccc',
    metricType: 'UNDEFINED',
    parameters: [
      {
        name: 'input-path',
        type: 'STRING',
        required: true,
        order: 0,
        default_value: '.',
        description: null,
      },
      {
        name: 'output-path',
        type: 'STRING',
        required: true,
        order: 1,
        default_value: './output',
        description: null,
      },
      {
        name: 'iterations',
        type: 'INTEGER',
        required: true,
        order: 2,
        default_value: '5',
        description: null,
      },
      {
        name: 'rotation-range',
        type: 'INTEGER',
        required: true,
        order: 3,
        default_value: '15',
        description: null,
      },
      {
        name: 'width-shift-range',
        type: 'INTEGER',
        required: true,
        order: 4,
        default_value: '0',
        description: null,
      },
      {
        name: 'height-shift-range',
        type: 'INTEGER',
        required: true,
        order: 5,
        default_value: '0',
        description: null,
      },
      {
        name: 'shear-range',
        type: 'FLOAT',
        required: true,
        order: 6,
        default_value: '0',
        description: null,
      },
      {
        name: 'zoom-range',
        type: 'FLOAT',
        description: '',
        required: true,
        order: 7,
        default_value: '0',
      },
      {
        name: 'horizontal-flip',
        description: '',
        type: 'BOOLEAN',
        required: true,
        order: 8,
        default_value: 'TRUE',
      },
      {
        name: 'vertical-flip',
        description: '',
        type: 'BOOLEAN',
        required: true,
        order: 9,
        default_value: 'TRUE',
      },
      {
        name: 'mode',
        default_value: '[{ "value": "gaussian" }, { "value": "localvar" }, { "value": "poisson" },{ "value": "salt" },{ "value": "pepper" },{ "value": "speckle" }]',
        description: 'noise mode it can take only these values: gaussian | localvar | poisson | salt | pepper | speckle',
        order: 2,
        required: false,
        type: 'STRING',
      },
    ],
    internalProcessorId: '597e1670-bbbd-11ea-859c-85d2ab5837c3',
  },
  {
    id: '01000000-0000-0002-0002-000000000000',
    slug: 'commons-random-crop',
    name: 'Random crop',
    inputDataType: 'IMAGE',
    outputDataType: 'IMAGE',
    type: 'OPERATION',
    visibilityScope: 'PUBLIC',
    description: ' This pipeline operation randomly crops a NxM (height x width) portion of the given dataset.\n This is used to randomly extract parts of the image incase we need to remove bias present in image data.',
    codeProjectId: '01000000-0000-0002-0001-000000000000',
    authorId: 'aaaa0000-0001-0000-0000-cccccccccccc',
    metricType: 'UNDEFINED',
    parameters: [
      {
        name: 'height',
        type: 'INTEGER',
        required: false,
        order: 0,
        default_value: '35',
        description: null,
      },
      {
        name: 'width',
        type: 'INTEGER',
        required: false,
        order: 1,
        default_value: '35',
        description: null,
      },
      {
        name: 'channels',
        type: 'INTEGER',
        required: false,
        order: 0,
        default_value: '3',
        description: null,
      },
      {
        name: 'seed',
        type: 'INTEGER',
        required: false,
        order: 1,
        default_value: '3',
        description: null,
      },
    ],
    internalProcessorId: '597e1671-bbbd-11ea-859c-85d2ab5837c3',
  },
  {
    id: '01000000-0000-0003-0002-000000000000',
    slug: 'commons-lee-filter',
    name: 'Lee filter',
    inputDataType: 'IMAGE',
    outputDataType: 'IMAGE',
    type: 'OPERATION',
    visibilityScope: 'PUBLIC',
    description: 'The presence of speckle noise in Synthetic Aperture Radar (SAR) images makes the interpretation of the contents difficult, \nthereby degrading the quality of the image. Therefore an efficient speckle noise removal technique, the Lee Filter is used to \nsmoothen the static-like noise present in these images',
    codeProjectId: '01000000-0000-0003-0001-000000000000',
    authorId: 'aaaa0000-0001-0000-0000-cccccccccccc',
    metricType: 'UNDEFINED',
    parameters: [
      {
        name: 'tupleParam',
        type: 'TUPLE',
        required: false,
        order: 0,
        default_value: '(1,2)',
        description: null,
      },
      {
        name: 'hashParam',
        type: 'DICTIONARY',
        required: false,
        order: 1,
        default_value: '{a:b}',
        description: null,
      },
    ],
    internalProcessorId: '597e1672-bbbd-11ea-859c-85d2ab5837c3',
  },
];

/* Image source to test the rendering of an avatar */
export const avatarUrl = 'https://assets.gitlab-static.net/uploads/-/system/user/avatar/3839940/avatar.png';

export const filesMock = [
  {
    id: '7405cad8db781b166de002da8f996fe84049e100',
    name: 'directory_1',
    type: 'tree',
    path: 'directory_1',
    mode: '040000',
  },
  {
    id: 'd564d0bc3dd917926892c55e3706cc116d5b165e',
    name: 'directory_2',
    type: 'tree',
    path: 'directory_2',
    mode: '040000',
  },
  {
    id: 'f248cabd580ad48d40ebcf5c8e0122784fe32f73',
    name: '.gitignore',
    type: 'blob',
    path: '.gitignore',
    mode: '100644',
  },
  {
    id: 'f248cabd580ad48d40ebcf5c8e0122784fe32f71',
    name: 'script.py',
    type: 'blob',
    path: 'script.py',
    mode: '100644',
  },
];

// --------- new mock data which emulates backend response --------- //

export const experimentMock = {
  dataInstanceId: null,
  authorName: 'mlreef',
  dataProjectId: '5345bb52-5256-4cda-820a-15f3bcc5ad05',
  id: '3fbdcf9e-8c2c-45cf-889d-5704e8843489',
  inputFiles: [{ location: 'data', location_type: 'PATH' }],
  jsonBlob: `[{"acc": 0.5924170613288879, "val_acc": 0.7200000286102295, "loss": 6.273748585398163, "val_loss": 463.36395263671875}, {"acc": 0.5909090638160706, "val_acc": 0.47727271914482117, "loss": 5.471082259308208, "val_loss": 34.901180267333984}, {"acc": 0.6881188154220581, "val_acc": 0.7272727489471436, "loss": 2.8597502678005706, "val_loss": 14.14941120147705}, {"acc": 0.6445497870445251, "val_acc": 0.6363636255264282, "loss": 4.36616699136264, "val_loss": 5.456426620483398},  {"acc": 0.620853066444397, "val_acc": 0.7272727489471436, "loss": 2.1634230031786372, "val_loss": 0.6455504298210144}]`,
  name: 'experiment/kind-kraken_1062020',
  pipelineJobInfo: {
    commitSha: 'abd778adfa9b53f02d903c6c03fbd7ba03e113c1',
    createdAt: '2020-06-10T15:06:51.382Z',
    finishedAt: '2020-06-10T15:08:36.583Z',
    id: 26,
    ref: 'experiment/kind-kraken_1062020',
    updatedAt: '2020-06-10T15:08:19.505Z',
  },
  pipeline_job_info: {
    commitSha: 'abd778adfa9b53f02d903c6c03fbd7ba03e113c1',
    createdAt: '2020-06-10T15:06:51.382Z',
    finishedAt: '2020-06-10T15:08:36.583Z',
    id: 26,
    ref: 'experiment/kind-kraken_1062020',
    updatedAt: '2020-06-10T15:08:19.505Z',
  },
  postProcessing: [],
  processing: {
    slug: 'resnet50',
    name: 'Resnet 50',
    parameters: [{
      name: 'output-path', value: '.', type: 'STRING', required: true, description: '',
    }],
  },
  slug: 'experiment-kind-kraken-1062020',
  sourceBranch: 'master',
  status: 'SUCCESS',
  targetBranch: 'experiment/kind-kraken_1062020',
};

export const configuredOperations = {
  dataOperatorsExecuted: [{
    slug: 'commons-augment',
    parameters: [{
      name: 'input-path',
      value: '.',
      type: 'STRING',
      required: true,
      description: '',
    },
    {
      name: 'output-path',
      value: '.',
      type: 'STRING',
      required: true,
      description: '',
    }, {
      name: 'iterations',
      value: '8',
      type: 'INTEGER',
      required: true,
      description: '',
    }, {
      name: 'rotation-range',
      value: '89',
      type: 'INTEGER',
      required: true,
      description: '',
    }, {
      name: 'width-shift-range',
      value: '89',
      type: 'INTEGER',
      required: true,
      description: '',
    }, {
      name: 'height-shift-range',
      value: '98',
      type: 'INTEGER',
      required: true,
      description: '',
    }, {
      name: 'shear-range',
      value: '989',
      type: 'FLOAT',
      required: true,
      description: '',
    }, {
      name: 'zoom-range',
      value: '8',
      type: 'FLOAT',
      required: true,
      description: '',
    }, {
      name: 'horizontal-flip',
      value: '998',
      type: 'BOOLEAN',
      required: true,
      description: '',
    }, {
      name: 'vertical-flip',
      value: '89',
      type: 'BOOLEAN',
      required: true,
      description: '',
    }],
    id: 'af3861a3-51fe-4df3-b5f8-0712f806a75e',
    name: 'Augment',
  }],
  inputFiles: [{
    location: 'README.md',
    location_type: 'PATH',
  }],
  pipelineBackendId: '29f484f4-6d03-4797-a331-0cf743f39d23',
};

export const experimentsClassifiedMock = [
  { status: 'RUNNING', values: [] },
  { status: 'SUCCESS', values: [] },
  { status: 'CANCELED', values: [] },
  {
    status: 'FAILED',
    values: [{
      id: 'd2fad8b3-8e3f-43bd-9623-5ae388e08ac2',
      dataProjectId: 'f464fa7e-cabc-41cd-a87b-89ba29f2e2b7',
      dataInstanceId: null,
      slug: 'experiment-polite-shark-1272020',
      name: 'experiment/polite-shark_1272020',
      sourceBranch: 'master',
      targetBranch: 'experiment/polite-shark_1272020',
      status: 'FAILED',
      pipelineJobInfo: {
        id: 60, ref: 'experiment/polite-shark_1272020', commitSha: '5677cc98eaf0b1e93993176e143acad369ae8f6a', createdAt: '2020-07-12T21:21:09.373Z', updatedAt: '2020-07-12T21:21:09.464Z',
      },
      postProcessing: [],
      processing: {
        slug: 'debug-dataprocessor', parameters: [], id: 'c02ad63a-929e-494d-8654-73eba31bd8e1', name: 'Dummy debug_dataprocessor',
      },
      jsonBlob: '',
      paramNames: [],
      authorName: 'mlreef',
      inputFiles: [{ location: 'training_set/cats', location_type: 'PATH' }],
    }, {
      id: 'a1263dba-6bbd-42e8-9cb8-00934bba3a36',
      dataProjectId: 'f464fa7e-cabc-41cd-a87b-89ba29f2e2b7',
      dataInstanceId: null,
      slug: 'experiment-positive-clownfish-772020',
      name: 'experiment/positive-clownfish_772020',
      sourceBranch: 'master',
      targetBranch: 'experiment/positive-clownfish_772020',
      status: 'FAILED',
      pipelineJobInfo: {
        id: 34, ref: 'experiment/positive-clownfish_772020', commitSha: 'c4301e283bbd0edcb74d46b8d0e431f145d3a948', createdAt: '2020-07-07T14:24:30.247Z', updatedAt: '2020-07-07T14:24:30.345Z',
      },
      postProcessing: [],
      processing: {
        slug: 'resnet50',
        parameters: [{
          name: 'output-path', value: '.', type: 'STRING', required: true, description: '',
        }, {
          name: 'height', value: '100', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'width', value: '100', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'epochs', value: '3', type: 'FLOAT', required: true, description: '',
        }],
        id: '4383bb8c-0b8f-4084-aad4-09574ee86492',
        name: 'Resnet 50',
      },
      jsonBlob: '',
      paramNames: [],
      authorName: 'mlreef',
      inputFiles: [{ location: 'training_set/cats', location_type: 'PATH' }],
    }, {
      id: '75583c2d-4253-42ac-b2a9-037dbf6b2f82',
      dataProjectId: 'f464fa7e-cabc-41cd-a87b-89ba29f2e2b7',
      dataInstanceId: null,
      slug: 'experiment-nice-megalodon-672020',
      name: 'experiment/nice-megalodon_672020',
      sourceBranch: 'master',
      targetBranch: 'experiment/nice-megalodon_672020',
      status: 'FAILED',
      pipelineJobInfo: {
        id: 20, ref: 'experiment/nice-megalodon_672020', commitSha: '8ac38552843d872e4456808a68a160e74d2e7c13', createdAt: '2020-07-06T21:37:26.095Z', updatedAt: '2020-07-06T21:37:26.204Z',
      },
      postProcessing: [],
      processing: {
        slug: 'resnet50',
        parameters: [{
          name: 'output-path', value: '.', type: 'STRING', required: true, description: '',
        }, {
          name: 'height', value: '100', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'width', value: '100', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'epochs', value: '2', type: 'FLOAT', required: true, description: '',
        }],
        id: '40825df9-314a-491e-84e2-3ede91a5e127',
        name: 'Resnet 50',
      },
      jsonBlob: '',
      paramNames: [],
      authorName: 'mlreef',
      inputFiles: [{ location: 'training_set', location_type: 'PATH' }],
    }, {
      id: '637277a2-8c8c-4684-ad2a-be036f14e728',
      dataProjectId: 'f464fa7e-cabc-41cd-a87b-89ba29f2e2b7',
      dataInstanceId: null,
      slug: 'experiment-gentle-krill-372020',
      name: 'experiment/gentle-krill_372020',
      sourceBranch: 'master',
      targetBranch: 'experiment/gentle-krill_372020',
      status: 'FAILED',
      pipelineJobInfo: {
        id: 14, ref: 'experiment/gentle-krill_372020', commitSha: '008dae275a015ff1b8969da56cff0f26917947f1', createdAt: '2020-07-03T14:02:32.307Z', updatedAt: '2020-07-03T14:02:32.426Z',
      },
      postProcessing: [],
      processing: {
        slug: 'resnet50',
        parameters: [{
          name: 'output-path', value: '.', type: 'STRING', required: true, description: '',
        }, {
          name: 'height', value: '128', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'width', value: '128', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'epochs', value: '5', type: 'FLOAT', required: true, description: '',
        }],
        id: 'daddd510-9cd2-437f-b3d2-0b95159bf148',
        name: 'Resnet 50',
      },
      jsonBlob: '',
      paramNames: [],
      authorName: 'mlreef',
      inputFiles: [{ location: 'training_set', location_type: 'PATH' }],
    }, {
      id: '94a5b534-491a-49d3-ab4f-d62c0973cd47',
      dataProjectId: 'f464fa7e-cabc-41cd-a87b-89ba29f2e2b7',
      dataInstanceId: null,
      slug: 'experiment-humble-moby-dick-372020',
      name: 'experiment/humble-moby-dick_372020',
      sourceBranch: 'master',
      targetBranch: 'experiment/humble-moby-dick_372020',
      status: 'FAILED',
      pipelineJobInfo: {
        id: 12, ref: 'experiment/humble-moby-dick_372020', commitSha: '6b5de8a04587485e720d7f6af0d18ac15c5d3318', createdAt: '2020-07-03T09:34:14.327Z', updatedAt: '2020-07-03T09:34:14.445Z',
      },
      postProcessing: [],
      processing: {
        slug: 'resnet50',
        parameters: [{
          name: 'output-path', value: '.', type: 'STRING', required: true, description: '',
        }, {
          name: 'height', value: '128', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'width', value: '128', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'epochs', value: '6', type: 'FLOAT', required: true, description: '',
        }, {
          name: 'learning-rate', value: '0.002', type: 'FLOAT', required: false, description: '',
        }],
        id: '58fcbe3d-09ef-4345-8023-bd85901fbec9',
        name: 'Resnet 50',
      },
      jsonBlob: '',
      paramNames: [],
      authorName: 'mlreef',
      inputFiles: [{ location: 'training_set', location_type: 'PATH' }],
    }, {
      id: 'c302f2ed-812f-4360-bbbf-5fcb0716ffe3',
      dataProjectId: 'f464fa7e-cabc-41cd-a87b-89ba29f2e2b7',
      dataInstanceId: null,
      slug: 'experiment-excited-whale-272020',
      name: 'experiment/excited-whale_272020',
      sourceBranch: 'master',
      targetBranch: 'experiment/excited-whale_272020',
      status: 'FAILED',
      pipelineJobInfo: {
        id: 10, ref: 'experiment/excited-whale_272020', commitSha: '8aaa7e4d3955a7e9335db3be3b5525bedab22535', createdAt: '2020-07-02T18:19:21.084Z', updatedAt: '2020-07-02T18:19:21.187Z',
      },
      postProcessing: [],
      processing: {
        slug: 'resnet50',
        parameters: [{
          name: 'output-path', value: '.', type: 'STRING', required: true, description: '',
        }, {
          name: 'height', value: '100', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'width', value: '100', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'epochs', value: '2', type: 'FLOAT', required: true, description: '',
        }],
        id: '8caaf9dc-588b-4092-aa31-b4cfb1548afe',
        name: 'Resnet 50',
      },
      jsonBlob: '',
      paramNames: [],
      authorName: 'mlreef',
      inputFiles: [{ location: 'training_set', location_type: 'PATH' }],
    }, {
      id: 'd0abfa99-6f23-4309-8cbf-cccbe2f3df95',
      dataProjectId: 'f464fa7e-cabc-41cd-a87b-89ba29f2e2b7',
      dataInstanceId: null,
      slug: 'experiment-optimum-lobster-172020',
      name: 'experiment/optimum-lobster_172020',
      sourceBranch: 'master',
      targetBranch: 'experiment/optimum-lobster_172020',
      status: 'FAILED',
      pipelineJobInfo: {
        id: 6, ref: 'experiment/optimum-lobster_172020', commitSha: '980f628beae2805459e4dc1c3bcfb4f57bc2a516', createdAt: '2020-07-01T08:53:35.734Z', updatedAt: '2020-07-01T08:53:35.837Z',
      },
      postProcessing: [],
      processing: {
        slug: 'resnet50',
        parameters: [{
          name: 'output-path', value: '.', type: 'STRING', required: true, description: '',
        }, {
          name: 'height', value: '128', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'width', value: '128', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'epochs', value: '5', type: 'FLOAT', required: true, description: '',
        }],
        id: '1fde6b4c-10be-4475-82a9-ee4b037ad619',
        name: 'Resnet 50',
      },
      jsonBlob: '',
      paramNames: [],
      authorName: 'mlreef',
      inputFiles: [{ location: 'training_set', location_type: 'PATH' }],
    }, {
      id: 'e962963d-cb62-44bc-8f3e-3ef2baffe86e',
      dataProjectId: 'f464fa7e-cabc-41cd-a87b-89ba29f2e2b7',
      dataInstanceId: null,
      slug: 'experiment-glowing-prawn-3062020',
      name: 'experiment/glowing-prawn_3062020',
      sourceBranch: 'master',
      targetBranch: 'experiment/glowing-prawn_3062020',
      status: 'FAILED',
      pipelineJobInfo: {
        id: 2, ref: 'experiment/glowing-prawn_3062020', commitSha: '883f60011dcaa8bedcac0cac61b8988ebf4ad61b', createdAt: '2020-06-30T08:29:41.843Z', updatedAt: '2020-06-30T08:29:41.96Z',
      },
      postProcessing: [],
      processing: {
        slug: 'resnet50',
        parameters: [{
          name: 'output-path', value: '.', type: 'STRING', required: true, description: '',
        }, {
          name: 'height', value: '128', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'width', value: '128', type: 'INTEGER', required: true, description: '',
        }, {
          name: 'epochs', value: '10', type: 'FLOAT', required: true, description: '',
        }],
        id: 'ff9d036a-73b4-4d13-b48d-e5ac92c4b185',
        name: 'Resnet 50',
      },
      jsonBlob: '',
      paramNames: [],
      authorName: 'mlreef',
      inputFiles: [{ location: 'training_set', location_type: 'PATH' }],
    }],
  },
  { status: 'EXPIRED', values: [] },
];

export const backendExperiments = [
  {
    id: '22b2c5c5-221e-4216-8052-21f5a61c6098',
    data_project_id: 'c48b8573-1aeb-4cab-980b-f70edff4e49b',
    data_instance_id: null,
    slug: 'experiment-powerful-krill-6112020',
    name: 'experiment/powerful-krill_6112020',
    number: 1,
    source_branch: 'master',
    target_branch: 'experiment/powerful-krill_6112020',
    status: 'PENDING',
    pipeline_job_info: {
      id: 231,
      ref: 'experiment/powerful-krill_6112020',
      commit_sha: '9d2816464e6f1eb5ab42830c02c39ec6c7de67ba',
      created_at: '2020-11-06T15:03:47.796Z',
      updated_at: '2020-11-06T15:03:47.919Z',
    },
    input_files: [
      {
        location: 'README.md',
        location_type: 'PATH_FILE',
      },
    ],
    post_processing: [],
    processing: {
      slug: 'commons-resnet-50',
      parameters: [
        {
          name: 'input-path',
          value: 'README.md',
          type: 'STRING',
          required: true,
          description: 'Data input, path to the images used for training',
        },
        {
          name: 'output-path',
          value: '.',
          type: 'STRING',
          required: true,
          description: 'path to output metrics and model',
        },
        {
          name: 'height',
          value: '9',
          type: 'INTEGER',
          required: true,
          description: 'height of images (int)',
        },
        {
          name: 'width',
          value: '9',
          type: 'INTEGER',
          required: true,
          description: 'width of images (int)',
        },
        {
          name: 'epochs',
          value: '9',
          type: 'INTEGER',
          required: true,
          description: 'number of epochs for training',
        },
        {
          name: 'channels',
          value: '3',
          type: 'INTEGER',
          required: false,
          description: 'channels of images: 1 = grayscale, 3 = RGB ,4=RGBA (int)',
        },
        {
          name: 'use-pretrained',
          value: 'true',
          type: 'BOOLEAN',
          required: false,
          description: 'use pretrained ResNet50 weights (bool)',
        },
        {
          name: 'batch-size',
          value: '25',
          type: 'INTEGER',
          required: false,
          description: 'batch size fed to the neural network (int)',
        },
        {
          name: 'validation-split',
          value: '0.2',
          type: 'FLOAT',
          required: false,
          description: 'fraction of images to be used for validation (float)',
        },
        {
          name: 'class_mode',
          value: '[{ "value": "categorical" }, { "value": "binary" }, { "value": "sparse" }]',
          type: 'STRING',
          required: false,
          description: 'class mode : if class_mode is categorical (default value) it must include the label column with the class/es of each image. Values in column can be string/list/tuple if a single class or list/tuple if multiple classes. if class_mode is binary or sparse it must include the given label column with class values as strings. if class_mode is raw or multi_output it should contain the columns specified in labels. if class_mode is input or None no extra column is needed.',
        },
        {
          name: 'learning-rate',
          value: '0.0001',
          type: 'FLOAT',
          required: false,
          description: 'learning rate of Adam Optimizer (float)',
        },
        {
          name: 'loss',
          value: 'sparse_categorical_crossentropy',
          type: 'STRING',
          required: false,
          description: ': Use sparse_categorical_crossentropy loss function when there are two or more label classes. We expect labels to be provided as integers. If you want to provide labels using one-hot representation, please use categorial_crossentropy loss, binary_crossentropy means that the labels (there can be only 2) are encoded as float32 scalars with values 0 or 1.',
        },
      ],
      id: '72a88241-d956-490c-b594-d18066a9c905',
      name: 'Resnet50',
    },
    json_blob: '',
  },
];

export const filesInScrollableSection = [
  {
    key: '5.jpg',
    fileName: '5.jpg',
    props: {
      fileInfo: {
        fileName: '5.jpg',
        imageFileSize: '5751',
        nextVersionFileParsed: {},
        previousVersionFileParsed: undefined,
      },
      fileSize: '5751',
      original: '',
      modified: '',
    },
    ref: null,
    _store: {
      validated: false,
    },
  },
  {
    key: '12.jpg',
    props: {
      fileInfo: {
        fileName: '12.jpg',
        imageFileSize: '5233',
        nextVersionFileParsed: {},
        previousVersionFileParsed: undefined,
      },
      fileSize: '5233',
      original: '',
      modified: '',
    },
    ref: null,
    _store: {
      validated: false,
    },
  },
];

export const membersMock = [
  {
    id: 1,
    name: 'mlreef',
    username: 'mlreef',
    state: 'active',
    avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
    web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef',
    access_level: 50,
    expires_at: null,
  },
  {
    id: 2,
    name: 'cpmlreef',
    username: 'cpmlreef',
    state: 'active',
    avatar_url: 'https://www.gravatar.com/avatar/d64636c9c4cf15dd5c9e1ed6ab529100?s=80&d=identicon',
    web_url: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef',
    access_level: 50,
    expires_at: null,
  },
];

export const mockedPipelines = [
  {
    id: 201,
    sha: '563790b2ad29f7690e02573807b6e1e78d500390',
    ref: 'master',
    status: 'success',
    createdAt: '2020-11-03T18:28:34.249Z',
    updatedAt: '2020-11-03T18:29:15.516Z',
    webUrl: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef/commons-bertsent/pipelines/201',
  },
  {
    id: 200,
    sha: 'bd144cb53a6864fb26ed8ccdbd82d14f47a12c02',
    ref: 'master',
    status: 'success',
    createdAt: '2020-11-03T18:22:59.942Z',
    updatedAt: '2020-11-03T18:23:42.769Z',
    webUrl: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef/commons-bertsent/pipelines/200',
  },
  {
    id: 195,
    sha: 'c19d61e0d5c5fee87f657eed3cb54d7e98e2e7d3',
    ref: 'master',
    status: 'success',
    createdAt: '2020-11-03T14:36:55.164Z',
    updatedAt: '2020-11-03T14:37:36.851Z',
    webUrl: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef/commons-bertsent/pipelines/195',
  },
  {
    id: 194,
    sha: 'c7ad26dc9154998f999f6ffcd31a52b3440d26ce',
    ref: 'master',
    status: 'success',
    createdAt: '2020-11-03T14:02:12.033Z',
    updatedAt: '2020-11-03T14:03:00.828Z',
    webUrl: 'http://ec2-18-157-161-187.eu-central-1.compute.amazonaws.com:10080/mlreef/commons-bertsent/pipelines/194',
  },
];


export const jobLogMock = `
  [0KRunning with gitlab-runner 13.7.0 (943fc252)
  [0;m[0K  on K8S runner on review-master-8dyme2.35.246.253.255.nip.io c_L4Asze
  [0;msection_start:1610138199:prepare_executor
  [0K[0K[36;1mPreparing the "kubernetes" executor[0;m
  [0;m[0KUsing Kubernetes namespace: default
  [0;m[0;33mWARNING: Pulling GitLab Runner helper image from Docker Hub. Helper image is migrating to registry.gitlab.com, for more information see https://docs.gitlab.com/runner/configuration/advanced-configuration.html#migrating-helper-image-to-registrygitlabcom
  [0;m[0KUsing Kubernetes executor with image registry.gitlab.com/mlreef/mlreef/epf:master ...
  [0;msection_end:1610138199:prepare_executor
  [0Ksection_start:1610138199:prepare_script
  [0K[0K[36;1mPreparing environment[0;m
  [0;mWaiting for pod default/runner-cl4asze-project-21-concurrent-0tgwkx to be running, status is Pending
  Running on runner-cl4asze-project-21-concurrent-0tgwkx via gitlab-runner-b44f75bf5-6728m...
  section_end:1610138204:prepare_script
  [0Ksection_start:1610138204:get_sources
  [0K[0K[36;1mGetting source from Git repository[0;m
  [0;m[32;1mFetching changes with git depth set to 50...[0;m
  Initialized empty Git repository in /builds/mlreef/sign-language-classifier/.git/
  [32;1mCreated fresh repository.[0;m
  [32;1mChecking out e4829f47 as experiment/literate-plancton_812021...[0;m

  # The before_script handles everything git related and sets up the automatic committing
  before_script:
    - cat .mlreef.yml         # Debug output mlreef.yml
    - echo "################# Logging job parameters"
    - echo "CI_SERVER_URL   = $CI_SERVER_URL"
    - echo "CI_SERVER_HOST  = $CI_SERVER_HOST"
    - echo "CI_SERVER_PORT  = $CI_SERVER_PORT"
    - echo "CI_RUNNER_ID    = $CI_RUNNER_ID"
    - echo "CI_PROJECT_NAME = $CI_PROJECT_NAME"
    - echo "CI_PROJECT_PATH = $CI_PROJECT_PATH"
    - echo "#################"
    #- it just aint working!
    # https://stackoverflow.com/questions/42074414/gitlab-push-to-a-repository-using-access-token
    # git remote add origin https://oauth2:<my-token>@gitlab.com/my-user/my-repo.git
    - git remote set-url origin "http://oauth2:$GIT_PUSH_TOKEN@$EPF_GITLAB_HOST:10080/$CI_PROJECT_PATH.git"
    - git config --global user.email "$GIT_PUSH_EMAIL"
    - git config --global user.name "$GIT_PUSH_NAME"
    - echo "Target branch is $TARGET_BRANCH"
    #- background-push &

  [0K[31;1mERROR: Job failed: command terminated with exit code 1
  [0;m;`

export const mockedFileDetails = {
  file_name:"Captura.png",
  file_path:"Captura.png",
  size:966,
  encoding:"base64",
  content_sha256:"9c17edebfab858187ca1392d4df4391e48699a688b8b4922dd87b3eaebdef758",
  ref:"master",
  blob_id:"fa2ae91167e3a8b727206bae535a9f8cb8aa089d",
  commit_id:"8f8ba983b7cbaaa1223e6553d94083649fa7b2b9",
  last_commit_id:"8f8ba983b7cbaaa1223e6553d94083649fa7b2b9",
  content:"iVBORw0KGgoAAAANSUhEUgAAADIAAAAuCAYAAABqK0pRAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAAEnQAABJ0Ad5mH3gAAANbSURBVGhD3Zr9aRVBFMUtygYsQAuwARuwAC0gBWgBacACbCAgKAgBQVESFAJCwD8EYeRH9izz7t6ZubOzmxUPHPJ82blzz/2aWcmDNIiL25ReXaX09GNKDy/ifP4ppfPvKd3+mQwNYrUQBPQ6X+LZt5Sufk+GV6JbyOWvu2h6Do0SQWvRJYRSePTOd2IrYp9s9yIkhDreKwslErQeNIUcIUJkiERRFXKkCDHaN1UhR4sQ39xMDlVQFEKNekaPItOyBlcIi/aeTr188mFyrgBXyLNL39jRrE2yhZC3P30ja3j2ddvsYqeEhZAts3H+487m4/f+79ewlJUTIUTPW9xDovb6etmcZPrFZ39ND0tZORHCAeQtjpJLpARwzSAjiOLn9XQp5PvRUrNBAidCmAzewghxjgMU0hveMyq10T70TvxZCA54iyxx0isROdk6REvPEQgOvsirgVdesxBS7i3KSdMi2PaSDEcizbOUmX0W2yDapxazkMhJzuYIYbLhENHFAaIISiVlKTt8JjPKMOtBZCjYF7FZCJczb0FONif9fKaJAWLYGETvZlpLMPTuoRHNHpHM2neWWcjLL/4C0UYdQ2yKMxISPYMkBOcRD/iO38muXWOJ2BxhIdpQUafOteGIEAWIzPI7DQMCZNfltDficGnZjMgQzo8I0Wf1Rd4/NRYz0hJChIB6BCfYUOMYrBGCQ0wqZYBMRyZosUciDcaGOI8D/Fuba9ro+xZVphKudQqI+qXG4tSKRIENvWeV5vy7GiVEZQoJCkEiI63+UHXkmIVE6hISLdUzlAORjIpyxK6hbCPlqUDkmIWAaI3nVL1rmkWpYREtx5zVuxZQI0eJE2QDIqSH6odISVs2b7/R8hLVG6PIe6VFHQMWJ0JA62DMSSmWaMcjB533nOjZ96iStFgIYax5BnpJQ+M8WeuJeI28L1E1HhZCQE9W7pO1UnaFoHrkbXEPMiBqcIWANdNkL9ZKSigKAf/Cf5vSa5HpWBUCjuyXqAjQFAIib49bs0cECAkB91lmvSJAWAjgarD3NONwbDW2hy4hwh7Z4erRm4Ucq4QICBrNEBnAzpos5BgSIhDJ6F8/UP84z/PeLXYtNhFiwX0NcZBLHj85YEf/uqGGXYQcgf9ESEp/AX/ihPjgW4hiAAAAAElFTkSuQmCC"
};


export const mockedAlgorithmsResponse = {
	"content": [
		{
			"id": "1e406246-8eb7-498d-a527-7fa33428fd45",
			"slug": "can-publish-code-project",
			"url": "http://gitlab.review-feature-se-ami8er.35.246.253.255.nip.io/TEST.2021-03-20.05-05-22/can-publish-code-project",
			"owner_id": "90a4a4ae-e5b7-41ff-80cb-2e45eda85dc2",
			"name": "Can publish code project",
			"gitlab_namespace": "TEST.2021-03-20.05-05-22",
			"gitlab_path": "can-publish-code-project",
			"gitlab_id": 23,
			"visibility_scope": "PUBLIC",
			"description": "Generated description",
			"tags": [],
			"stars_count": 0,
			"forks_count": 0,
			"input_data_types": [
				"HIERARCHICAL"
			],
			"output_data_types": [],
			"searchable_type": "CODE_PROJECT",
			"data_processor": {
				"id": "256bc842-b0f2-485e-9729-7b708bf4f4e1",
				"slug": "can-publish-code-project",
				"name": "Can publish code project",
				"input_data_type": "HIERARCHICAL",
				"output_data_type": "HIERARCHICAL",
				"type": "ALGORITHM",
				"visibility_scope": "PRIVATE",
				"description": "description",
				"code_project_id": "1e406246-8eb7-498d-a527-7fa33428fd45",
				"versions": [
					{
						"id": "13a49b31-ee22-49d6-ac62-02559fe1b68d",
						"slug": "can-publish-code-project",
						"name": "Can publish code project",
						"input_data_type": "HIERARCHICAL",
						"output_data_type": "HIERARCHICAL",
						"type": "ALGORITHM",
						"visibility_scope": "PRIVATE",
						"description": "description",
						"code_project_id": "1e406246-8eb7-498d-a527-7fa33428fd45",
						"data_processor_id": "256bc842-b0f2-485e-9729-7b708bf4f4e1",
						"publisher_id": "90a4a4ae-e5b7-41ff-80cb-2e45eda85dc2",
						"metric_type": "UNDEFINED",
						"parameters": [
							{
								"name": "cropFactor",
								"type": "FLOAT",
								"required": true,
								"order": 1,
								"default_value": "1",
								"description": ""
							},
							{
								"name": "imageFiles",
								"type": "LIST",
								"required": true,
								"order": 2,
								"default_value": "[]",
								"description": ""
							},
							{
								"name": "optionalFilterParam",
								"type": "INTEGER",
								"required": true,
								"order": 3,
								"default_value": "1",
								"description": ""
							}
						],
						"number": 1,
						"branch": "master",
						"command": "registry.review-feature-se-ami8er.35.246.253.255.nip.io/test.2021-03-20.05-05-22/can-publish-code-project:master",
						"base_environment": {
							"id": "870a0b67-f36b-40c8-9e76-560c32d5f3e8",
							"title": "Base environment python-3.6-GPU",
							"docker_image": "tensorflow/tensorflow:2.1.0-gpu-py3",
							"description": "GPU nvidia drivers and TF 2.1, python 3.6",
							"requirements": "cycler==0.10.0\ndecorator==4.4.2\nimageio==2.8.0\njoblib==0.14.1\nkiwisolver==1.2.0\nmatplotlib==3.2.1\nnetworkx==2.4\nnumpy==1.18.4\nnltk==3.5\nnum2words==0.5.10\nopencv-python==4.2.0.34\nPillow==7.1.2\npyparsing==2.4.7\npython-dateutil==2.8.1\nPyWavelets==1.1.1\nscikit-image==0.16.2\nscikit-learn==0.23.1\nscipy==1.4.1\nsix==1.14.0",
							"machine_type": "GPU",
							"sdk_version": "3.6"
						},
						"published_at": "2021-03-20T17:05:44.092Z"
					}
				]
			},
			"published": true
		}
	],
	"pageable": {
		"sort": {
			"unsorted": true,
			"sorted": false,
			"empty": true
		},
		"page_number": 0,
		"page_size": 20,
		"offset": 0,
		"paged": true,
		"unpaged": false
	},
	"last": true,
	"total_pages": 1,
	"total_elements": 1,
	"first": true,
	"sort": {
		"unsorted": true,
		"sorted": false,
		"empty": true
	},
	"number_of_elements": 1,
	"size": 20,
	"number": 0,
	"empty": false
}


export const mockedOperations = {
	"content": [
		{
			"id": "6d8af6e2-131d-4836-97c1-f006db122d91",
			"slug": "add-noise-22feb",
			"url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/add-noise-22feb",
			"owner_id": "aaaa0000-0001-0000-0000-cccccccccccc",
			"name": "Add noise 22feb",
			"gitlab_namespace": "mlreef",
			"gitlab_path": "add-noise-22feb",
			"gitlab_id": 562,
			"visibility_scope": "PUBLIC",
			"description": "",
			"tags": [],
			"stars_count": 1,
			"forks_count": 0,
			"input_data_types": [
				"IMAGE"
			],
			"output_data_types": [],
			"searchable_type": "CODE_PROJECT",
			"data_processor": {
				"id": "c471f1ed-54c6-4068-a8fd-fbfc86f99079",
				"slug": "add-noise-22feb",
				"name": "Add noise 22feb",
				"input_data_type": "IMAGE",
				"output_data_type": "IMAGE",
				"type": "OPERATION",
				"visibility_scope": "PRIVATE",
				"description": "description",
				"code_project_id": "6d8af6e2-131d-4836-97c1-f006db122d91",
				"versions": [
					{
						"id": "e905e3d0-9866-4d59-8963-64e45a05aeb5",
						"slug": "add-noise-22feb",
						"name": "Add noise 22feb",
						"input_data_type": "IMAGE",
						"output_data_type": "IMAGE",
						"type": "OPERATION",
						"visibility_scope": "PRIVATE",
						"description": "description",
						"code_project_id": "6d8af6e2-131d-4836-97c1-f006db122d91",
						"data_processor_id": "c471f1ed-54c6-4068-a8fd-fbfc86f99079",
						"publisher_id": "aaaa0000-0001-0000-0000-cccccccccccc",
						"metric_type": "UNDEFINED",
						"parameters": [
							{
								"name": "input-path",
								"type": "STRING",
								"required": true,
								"order": 1,
								"default_value": "train",
								"description": "path to directory of images or image file"
							},
							{
								"name": "output-path",
								"type": "STRING",
								"required": true,
								"order": 2,
								"default_value": "output",
								"description": "output directory to save images"
							},
							{
								"name": "mode",
								"type": "STRING",
								"required": true,
								"order": 3,
								"default_value": "speckle",
								"description": "type of noise: gaussian , localvar , poisson , salt , pepper , speckle"
							}
						],
						"number": 1,
						"branch": "master",
						"command": "registry.review-master-8dyme2.35.246.253.255.nip.io/mlreef/add-noise-22feb:master",
						"base_environment": {
							"id": "870a0b67-f36b-40c8-9e76-560c32d5f3e8",
							"title": "Base environment python-3.6-GPU",
							"docker_image": "tensorflow/tensorflow:2.1.0-gpu-py3",
							"description": "GPU nvidia drivers and TF 2.1, python 3.6",
							"requirements": "cycler==0.10.0\ndecorator==4.4.2\nimageio==2.8.0\njoblib==0.14.1\nkiwisolver==1.2.0\nmatplotlib==3.2.1\nnetworkx==2.4\nnumpy==1.18.4\nnltk==3.5\nnum2words==0.5.10\nopencv-python==4.2.0.34\nPillow==7.1.2\npyparsing==2.4.7\npython-dateutil==2.8.1\nPyWavelets==1.1.1\nscikit-image==0.16.2\nscikit-learn==0.23.1\nscipy==1.4.1\nsix==1.14.0",
							"machine_type": "GPU",
							"sdk_version": "3.6"
						},
						"published_at": "2021-02-22T11:49:15.77Z"
					}
				]
			},
			"published": true
		},
		{
			"id": "fe956934-d0cf-11ea-87d0-0242ac130003",
			"slug": "commons-add-noise",
			"url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/commons-add-noise",
			"owner_id": "aaaa0000-0001-0000-0000-cccccccccccc",
			"name": "Add noise",
			"gitlab_namespace": "mlreef",
			"gitlab_path": "commons-add-noise",
			"gitlab_id": 2,
			"visibility_scope": "PUBLIC",
			"description": "Adds noise to an image: gaussian , localvar , poisson , salt , pepper , speckle",
			"tags": [],
			"stars_count": 0,
			"forks_count": 0,
			"input_data_types": [
				"IMAGE"
			],
			"output_data_types": [
				"IMAGE"
			],
			"searchable_type": "CODE_PROJECT",
			"data_processor": {
				"id": "fe956b64-d0cf-11ea-87d0-0242ac130003",
				"slug": "commons-add-noise",
				"name": "Add noise",
				"input_data_type": "IMAGE",
				"output_data_type": "IMAGE",
				"type": "OPERATION",
				"visibility_scope": "PUBLIC",
				"description": "Adds noise to an image: gaussian , localvar , poisson , salt , pepper , speckle",
				"code_project_id": "fe956934-d0cf-11ea-87d0-0242ac130003",
				"author_id": "aaaa0000-0001-0000-0000-cccccccccccc",
				"versions": [
					{
						"id": "fe956b64-d0cf-11ea-87d0-0242ac130003",
						"slug": "commons-add-noise",
						"name": "Add noise",
						"input_data_type": "IMAGE",
						"output_data_type": "IMAGE",
						"type": "OPERATION",
						"visibility_scope": "PUBLIC",
						"description": "Adds noise to an image: gaussian , localvar , poisson , salt , pepper , speckle",
						"code_project_id": "fe956934-d0cf-11ea-87d0-0242ac130003",
						"data_processor_id": "fe956b64-d0cf-11ea-87d0-0242ac130003",
						"author_id": "aaaa0000-0001-0000-0000-cccccccccccc",
						"publisher_id": "aaaa0000-0001-0000-0000-cccccccccccc",
						"metric_type": "UNDEFINED",
						"parameters": [
							{
								"name": "cropFactor",
								"type": "FLOAT",
								"required": true,
								"order": 1,
								"default_value": "1",
								"description": ""
							},
							{
								"name": "imageFiles",
								"type": "LIST",
								"required": true,
								"order": 2,
								"default_value": "[]",
								"description": ""
							},
							{
								"name": "optionalFilterParam",
								"type": "INTEGER",
								"required": true,
								"order": 3,
								"default_value": "1",
								"description": ""
							}
						],
						"number": 1,
						"branch": "master",
						"command": "registry.review-master-8dyme2.35.246.253.255.nip.io/mlreef/commons-add-noise:master",
						"base_environment": {
							"id": "870a0b67-f36b-40c8-9e76-560c32d5f3e8",
							"title": "Base environment python-3.6-GPU",
							"docker_image": "tensorflow/tensorflow:2.1.0-gpu-py3",
							"description": "GPU nvidia drivers and TF 2.1, python 3.6",
							"requirements": "cycler==0.10.0\ndecorator==4.4.2\nimageio==2.8.0\njoblib==0.14.1\nkiwisolver==1.2.0\nmatplotlib==3.2.1\nnetworkx==2.4\nnumpy==1.18.4\nnltk==3.5\nnum2words==0.5.10\nopencv-python==4.2.0.34\nPillow==7.1.2\npyparsing==2.4.7\npython-dateutil==2.8.1\nPyWavelets==1.1.1\nscikit-image==0.16.2\nscikit-learn==0.23.1\nscipy==1.4.1\nsix==1.14.0",
							"machine_type": "GPU",
							"sdk_version": "3.6"
						},
						"published_at": "2021-03-20T16:45:57.148Z"
					}
				]
			},
			"published": true
		}
	],
	"pageable": {
		"sort": {
			"sorted": false,
			"unsorted": true,
			"empty": true
		},
		"page_size": 20,
		"page_number": 0,
		"offset": 0,
		"paged": true,
		"unpaged": false
	},
	"total_pages": 1,
	"last": true,
	"total_elements": 2,
	"sort": {
		"sorted": false,
		"unsorted": true,
		"empty": true
	},
	"number_of_elements": 2,
	"first": true,
	"size": 20,
	"number": 0,
	"empty": false
}


export const mockedDataInstanceDetails = {
	"id": "66df3da0-ea13-41e7-8f75-f75d5b46b515",
	"pipeline_type": "DATA",
	"data_project_id": "5d005488-afb6-4a0c-852a-f471153a04b5",
	"slug": "data-pipeline-gentle-warwhal-18012021223245",
	"name": "data-pipeline/gentle-warwhal-18012021223245",
	"source_branch": "master",
	"target_branch_pattern": "data-pipeline/gentle-warwhal-18012021223245-$NUMBER",
	"data_operations": [
		{
			"slug": "commons-color-modifier",
			"parameters": [
				{
					"name": "input-path",
					"value": "data",
					"type": "STRING",
					"required": true,
					"description": "Data input, path to the images used for transformation"
				},
				{
					"name": "output-path",
					"value": ".",
					"type": "STRING",
					"required": true,
					"description": "output directory to save images"
				},
				{
					"name": "brightness",
					"value": "0.5",
					"type": "FLOAT",
					"required": false,
					"description": "Brightness value"
				},
				{
					"name": "contrast",
					"value": "0.5",
					"type": "FLOAT",
					"required": false,
					"description": "contrast value"
				},
				{
					"name": "saturation",
					"value": "2",
					"type": "FLOAT",
					"required": false,
					"description": "saturation value"
				}
			],
			"id": "e0505e2b-3749-47f8-afda-283383f514ee",
			"name": "Color modifier"
		}
	],
	"input_files": [
		{
			"location": "data",
			"location_type": "PATH_FOLDER"
		}
	],
	"instances": [
		{
			"id": "59159554-393d-4c0a-afd7-32c8c575432f",
			"pipeline_type": "DATA",
			"pipeline_config_id": "66df3da0-ea13-41e7-8f75-f75d5b46b515",
			"data_project_id": "5d005488-afb6-4a0c-852a-f471153a04b5",
			"slug": "data-pipeline-gentle-warwhal-18012021223245-1",
			"name": "data-pipeline/gentle-warwhal-18012021223245",
			"source_branch": "master",
			"target_branch": "data-pipeline/gentle-warwhal-18012021223245-1",
			"data_operations": [
				{
					"slug": "commons-color-modifier",
					"parameters": [
						{
							"name": "input-path",
							"value": "data",
							"type": "STRING",
							"required": true,
							"description": "Data input, path to the images used for transformation"
						},
						{
							"name": "output-path",
							"value": ".",
							"type": "STRING",
							"required": true,
							"description": "output directory to save images"
						},
						{
							"name": "brightness",
							"value": "0.5",
							"type": "FLOAT",
							"required": false,
							"description": "Brightness value"
						},
						{
							"name": "contrast",
							"value": "0.5",
							"type": "FLOAT",
							"required": false,
							"description": "contrast value"
						},
						{
							"name": "saturation",
							"value": "2",
							"type": "FLOAT",
							"required": false,
							"description": "saturation value"
						}
					],
					"id": "b5e7a25e-e0a2-4e41-a5fd-62c1a990fc31",
					"name": "Color modifier"
				}
			],
			"input_files": [
				{
					"location": "data",
					"location_type": "PATH_FOLDER"
				}
			],
			"number": 1,
			"commit": null,
			"status": "SUCCESS",
			"pipeline_job_info": {
				"id": 94,
				"ref": "data-pipeline/gentle-warwhal-18012021223245-1",
				"commit_sha": "1ab182a63edbdbb04c9b190860d29f4215c52afc",
				"created_at": "2021-01-18T22:32:50.846Z",
				"updated_at": "2021-01-18T22:32:50.936Z",
				"finished_at": "2021-01-18T22:33:33.532Z"
			}
		}
	]
}

export const dataInstanceDetialsGitlab = 
{"id":603,"sha":"b865c74fbc08735e7567fdad8c993526faa7cecd","ref":"data-pipeline/nice-whale-5052021182232-1","status":"success","created_at":"2021-05-05T18:22:34.537Z","updated_at":"2021-05-05T18:27:11.957Z","web_url":"http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/andres.ausecha/my-shitty-project/pipelines/603","before_sha":"0000000000000000000000000000000000000000","tag":false,"yaml_errors":null,"user":{"id":57,"name":"andres.ausecha","username":"andres.ausecha","state":"active","avatar_url":"https://www.gravatar.com/avatar/beee80f443638cd25a221ab49adffb70?s=80\u0026d=identicon","web_url":"http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/andres.ausecha"},"started_at":"2021-05-05T18:22:35.159Z","finished_at":"2021-05-05T18:27:11.941Z","committed_at":null,"duration":276,"coverage":null,"detailed_status":{"icon":"status_success","text":"passed","label":"passed","group":"success","tooltip":"passed","has_details":true,"details_path":"/andres.ausecha/my-shitty-project/pipelines/603","illustration":null,"favicon":"/assets/ci_favicons/favicon_status_success-8451333011eee8ce9f2ab25dc487fe24a8758c694827a582f17f42b0a90446a2.png"}}

export const mockedRawPipelines = [
	{
		"id": 97,
		"sha": "4b9dc8c8fabf9d68d3cb7ede07bc4a4bb1c83b8e",
		"ref": "data-visualization/fresh-seal-18012021225907-1",
		"status": "failed",
		"created_at": "2021-01-18T22:59:14.163Z",
		"updated_at": "2021-01-18T22:59:43.947Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/97"
	},
	{
		"id": 96,
		"sha": "4b9dc8c8fabf9d68d3cb7ede07bc4a4bb1c83b8e",
		"ref": "data-visualization/fresh-seal-18012021225907-1",
		"status": "skipped",
		"created_at": "2021-01-18T22:59:13.432Z",
		"updated_at": "2021-01-18T22:59:13.432Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/96"
	},
	{
		"id": 95,
		"sha": "9a37890e25af2f26264a2907c25a8146237d94f7",
		"ref": "data-pipeline/gentle-warwhal-18012021223245-1",
		"status": "skipped",
		"created_at": "2021-01-18T22:33:04.031Z",
		"updated_at": "2021-01-18T22:33:04.031Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/95"
	},
	{
		"id": 94,
		"sha": "1ab182a63edbdbb04c9b190860d29f4215c52afc",
		"ref": "data-pipeline/gentle-warwhal-18012021223245-1",
		"status": "failed",
		"created_at": "2021-01-18T22:32:50.846Z",
		"updated_at": "2021-01-18T22:33:33.751Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/94"
	},
	{
		"id": 93,
		"sha": "1ab182a63edbdbb04c9b190860d29f4215c52afc",
		"ref": "data-pipeline/gentle-warwhal-18012021223245-1",
		"status": "skipped",
		"created_at": "2021-01-18T22:32:49.579Z",
		"updated_at": "2021-01-18T22:32:49.579Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/93"
	},
	{
		"id": 92,
		"sha": "394f5ce3b04aa68d81ff2a776a913b9da2b5e6cf",
		"ref": "data-pipeline/fit-dolphin-18012021215828-1",
		"status": "skipped",
		"created_at": "2021-01-18T21:58:54.255Z",
		"updated_at": "2021-01-18T21:58:54.255Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/92"
	},
	{
		"id": 91,
		"sha": "5181b255c631bfa4ffbeb58d9a076b06e8dae1ae",
		"ref": "data-pipeline/fit-dolphin-18012021215828-1",
		"status": "failed",
		"created_at": "2021-01-18T21:58:39.578Z",
		"updated_at": "2021-01-18T21:59:23.943Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/91"
	},
	{
		"id": 90,
		"sha": "5181b255c631bfa4ffbeb58d9a076b06e8dae1ae",
		"ref": "data-pipeline/fit-dolphin-18012021215828-1",
		"status": "skipped",
		"created_at": "2021-01-18T21:58:34.920Z",
		"updated_at": "2021-01-18T21:58:34.920Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/90"
	},
	{
		"id": 57,
		"sha": "f6b106efad7427caabc1915904936ed0964d00c2",
		"ref": "experiment/perfect-barracuda_1312021-1",
		"status": "skipped",
		"created_at": "2021-01-13T23:27:42.977Z",
		"updated_at": "2021-01-13T23:27:42.977Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/57"
	},
	{
		"id": 56,
		"sha": "ab67f32fc4de9e89f552ed68dc20abb511d605da",
		"ref": "experiment/perfect-barracuda_1312021-0",
		"status": "skipped",
		"created_at": "2021-01-13T23:27:42.570Z",
		"updated_at": "2021-01-13T23:27:42.570Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/56"
	},
	{
		"id": 55,
		"sha": "f6b106efad7427caabc1915904936ed0964d00c2",
		"ref": "experiment/perfect-barracuda_1312021-1",
		"status": "failed",
		"created_at": "2021-01-13T23:26:30.882Z",
		"updated_at": "2021-01-13T23:31:07.676Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/55"
	},
	{
		"id": 54,
		"sha": "ab67f32fc4de9e89f552ed68dc20abb511d605da",
		"ref": "experiment/perfect-barracuda_1312021-0",
		"status": "failed",
		"created_at": "2021-01-13T23:26:30.579Z",
		"updated_at": "2021-01-13T23:31:08.080Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/54"
	},
	{
		"id": 53,
		"sha": "c73b72cf073fc243d6bfcca5c7908baed6c9ee23",
		"ref": "experiment/touched-starfish_1312021",
		"status": "skipped",
		"created_at": "2021-01-13T23:16:20.802Z",
		"updated_at": "2021-01-13T23:16:20.802Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/53"
	},
	{
		"id": 52,
		"sha": "eb11645cfafca34d30cb828b45e5c87f8b5aeeb4",
		"ref": "experiment/touched-starfish_1312021",
		"status": "canceled",
		"created_at": "2021-01-13T23:14:37.268Z",
		"updated_at": "2021-01-13T23:16:18.784Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/52"
	},
	{
		"id": 51,
		"sha": "eb11645cfafca34d30cb828b45e5c87f8b5aeeb4",
		"ref": "experiment/touched-starfish_1312021",
		"status": "skipped",
		"created_at": "2021-01-13T23:14:32.470Z",
		"updated_at": "2021-01-13T23:14:32.470Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/51"
	},
	{
		"id": 12,
		"sha": "e4829f475160ce64bc5e3cba85d0e4659cb4f69a",
		"ref": "experiment/literate-plancton_812021",
		"status": "failed",
		"created_at": "2021-01-08T20:31:52.361Z",
		"updated_at": "2021-01-08T20:36:48.452Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/12"
	},
	{
		"id": 11,
		"sha": "e4829f475160ce64bc5e3cba85d0e4659cb4f69a",
		"ref": "experiment/literate-plancton_812021",
		"status": "skipped",
		"created_at": "2021-01-08T20:31:51.176Z",
		"updated_at": "2021-01-08T20:31:51.176Z",
		"web_url": "http://gitlab.review-master-8dyme2.35.246.253.255.nip.io/mlreef/sign-language-classifier/pipelines/11"
	}
]